In this case, I rotate the line around the center of the movie with the code shown below.
在本例中,我用下面所示的代码使这条直线围绕动画的中心旋转。
The line Numbers in this code are not part of the code itself.
代码中的行号都不是代码本身的一部分。
Line 5 in the code now extends the class properly.
代码中的第5行现在正确地扩展类。
So really, the rule of thumb if you think back to Scratch is -- that any time you write a statement -- -- something that does something in one line of code -- you generally need the semicolon there.
实际上,根据经验,你们回忆一下在Scratch中,任何时候你们写一条语句-,处理一些操作的一行代码-,你们通常需要在那里加个分号。
应用推荐