Comet 32 Runtime
If the exclamation mark is used as the first character on a line, the entire line will be ignored by the compiler and treated as a programmer comment.
If the exclamation mark is used anywhere else on a source line, the first part of the line (up to the exclamation mark) will be compiled and the remainder of the line will be ignored. This is a convenient way to place comments on the same line as source statements.
! THIS ENTIRE LINE WILL BE TREATED AS A COMMENTIn this example, the whole source line will be ignored because the comment character appears as the first character on the line.
LET A = B*C/D ! THIS COMMENT FOLLOWS A STATEMENTIn this example, the comment character follows an executable statement. The compiler will compile the first part of the line, but ignore the characters from the exclamation mark to the end of the line.