Language and Conventions Overview | Continuation and Comments
Putting comments throughout a program can be done by using the comment symbol, which is the double dollar sign ($$). A comment may be on a line by itself or it may be on a line with a program statement. The comment symbol indicates to the processor that the remainder of this line is to be ignored. Therefore, if a comment is to be on a line by itself, it is recommended that the double dollar sign starts in the first position. This will help prevent the accidental insertion of data which could cause an error in compilation.
P1=POINT/X,Y,Z
.
.
.
$$ DEFINE A REFERENCE
POINT(a line with comments only)
$$ (blank lines for
spacing)
$$
$$
P2=POINT/X,Y,Z $$ COMMENTS (program and
comments)
$$
LN1=LINE/X1,Y1, $
$$ COMMENTS (continuation and
comments)
X2,Y2
HALT