Now this is perhaps, frankly this is really the reason that people tend to get confused with the new piece of syntax because the * means different things in different contexts.
也许,这就是大家对这个新语法,混淆的原因,因为*的在不同的环境中有不同的意义。
so their grammar is very ingrained in Spanish, which is different than English.
他们的语法是基于西班牙语的,与英语截然不同。
And one of the puzzles of syntactic rules, or one of the issues of them, is that different rules can conspire to create the same sentence.
语法规则的一个谜团或问题是,不同规则可以共同作用来产生同一个句子
The difference with the do while loop, as the syntax kind of suggests, is that this construct is going to do something no matter what.
作为建议的语法,do,while循环的不同之处,是这个结构不管怎么样,它会做一些事情。
Think of this as a function that takes two techs arguments, the first of which is univs and the second of which is techs. And this is just a different syntax for writing that function call.
想下有两个参数的函数,第一个是univs第二个是,这就是对于函数调用的,不同语法的书写规则。
So conceptually the key difference here, besides the syntax looking slightly different, it just means that if you want a chunk of code to execute no matter what initially, ; you can use the do while loop; if you want to check a condition first, you can use the while loop.
所以概念上,则关键的区别是,除了语法看起来有点不同,它的意思是如果你想要一段代码,最初无论如何都要执行,你就可以用do,while循环;,如果你想要先检查条件,你可以用while循环。
应用推荐