" ; "分号是一种在层次上介于逗号和句号之间的标点符号,主要用以分隔存在一定关系(并列、转折、承接和因果等,以并列关系居多)的两句分句——分句可以属于单重复句,也可以是多重复句的第一层分句,或者是大句中的并列部分。除此之外,分号还可以用来分隔作为列举分项出现的并列短语,或是辞书中同一义项的不同释义。详述与例子参见正文。另外,“分号”也可以是“分店”的意思。
有一些愚蠢的语法,像花括号和分号,一开始是有点烦人的,因为你必须记住所有的这些要放到哪里。
There is some stupid syntax, like curly braces and semicolons, that initially is kind of annoying because you have to remember where all this goes.
这些分号放在它应该放的地方。
首先是分号和反斜线的用法。
Condition," this thing in the middle between the semicolons, is going to be checked every iteration of the loop.
条件,“这个在两个分号的中间,它将迭代地检查这个循环的条件。
It ultimately evaluates that line of code but just once the stuff inside the curly braces, but the semicolon on the end, essentially has the effect of this.
它最终执行了那行代码,但是只有一次,当那个东西在花括号里,分号放在后面,本质上影响了这个循环。
So again immediately on first glance, a little more arcane, there are some distracting details, these curly braces, the semicolon, the quotation marks.
第一眼扫过去,是不是有点神秘,有点繁琐,还有一些莫名其妙的大括号,分号和引号呢。
应用推荐