COMMENT INDEX

COMMENT _ _ _ _ _ _ _ _ _ _ _ _ command

Beginning with the word comment, all text until the next statement terminator (; or $) is ignored.

examples:



x := a**2 comment--a is the velocity of the particle;;
 


        2
  X := A

Note that the first semicolon ends the comment and the second one terminates the original REDUCE statement.

Multiple-line comments are often needed in interactive files. The comment command allows a normal-looking text to accompany the REDUCE statements in the file.