If you want to work not only in the code but also want documentation, use this mode.
如果您不只想处理代码,但是又想文档化,那么就使用这种模式。
Only US firefighters and repairmen can use the buttons to speed up the door-closing process if they have a code or special keys.
只有美国消防员和维修人员有密码或者特殊的钥匙时,他们才能按按钮加速关门的过程。
You need to know how the Document Object Model (DOM) works only if you wish to change the code in this tutorial to suit your own applications.
只有当希望修改本教程中的代码以适应具体应用程序时才需要了解文档对象模型(DOM)的工作原理。
As an aside, if you ever just have one line of code that you want to execute, one puzzle piece in Scratch terminology, ; you actually don't need the curly braces; you only need the curly braces if you have two or more lines of code that you want to execute if that condition is true.
此外,如果你只有一行代码,需要执行,在Scratch,术语中叫做,一句代码,你就不需要使用花括号了;,如果那个条件成立,你有两行或更多行的代码时需要执行时,你就需要花括号。
应用推荐