The REM statement begins a comment line in the program.
Format
REM anything ! anything * anything |
Parameter(s)
anything |
Any text may be placed after a REM, !, or * statement. |
Description
The REM, *, and ! statements may be used to begin a comment line in the source code. Comment lines should be used to thoroughly document source code.
Comment lines may be inserted into the object code with the $* statement. See $* Statement for more information.
Example
A program might be documented as follows:
******************************************** ******* THIS IS A PROGRAM FOR … ********************************************
***** MAIN******************************** LOOP UNTIL … GOSUB ROUTINE . . . REPEAT STOP
****SUBROUTINES*********************** ROUTINE: |
See Also