Comments

There are 3 ways to add comments to a ZPL macro: by starting a line with the REM keyword, by starting a line with the "!" symbol, or by placing the "#" symbol anywhere on the line as long as the # symbol is not inside a string. Blank lines are also allowed anywhere in the macro. Here are 3 examples of comments:

REM this is a remark
! This is also a remark
x = 5 # The # symbol allows comments on the same line as a valid command

Comments make macros easier to understand and modify, and have no effect on performance.

Next: