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.

次へ :