REM, !, #
REM、!和#用来定义备注或注释。
语法:
REM (text) ! (text) (valid zpl line) # (text)
详述:
感叹号也可用于表示备注。仅当REM命令和"!"符号出现在某一行的开头时,才可表示备注或者注释。#符号可应用在某一行中的任何位置,但仅当"#"不在字符串内部时,才表示注释。"#"符号后面的所有内容都表示注释信息。
示例:
REM any text can be placed after the REM command. ! any text can also be placed ! after the exclamation symbol. x = 5 # this syntax allows comments to be placed on the same line as a command.
下一部分: