- ⌂ Flow Control
- Directives
#COMMENT
All text, variables and COMAND Script statements placed between #COMMENT and #ENDCOMMENT are not interpreted and will not appear in the output. #COMMENT blocks can not be nested. If you want to nest disabled code, consider using #IF(0) ... #ENDIF.
#* ... *# is a short hand version of comments, which work similar to /* ... */ in PHP, JavaScript and other programming languages.
#/ starts a comment that will continue until the end of the line, which works similar to // in PHP, JavaScript and other programming languages.
This statement does not produce output.
Prototype
#COMMENT ... #ENDCOMMENT
#* ... *#
#/ ...
Example
#COMMENT
This is an example with all types of comments.
#ENDCOMMENT
#* Simple addition: *#
1 + 2 = #CALC(1 + 2) #/ the result will be 3
Related
#IF can be used to disable nested blocks of code.
#PLAINTEXT will output a block of text uninterpreted.