Download manual
Transcript
REM - Miscellaneous Function Identifies non-executable comments Syntax REM comment Usage The REM statement is used to add comments to a program. Everything on a line following the REM instruction is ignored by BASIC. The fact that the REM statement is executable in the COMMAND mode maybe useful in certain applications. If a computer is used to load programs into the ASCII/BASIC module, REM statements without line numbers could be included in the computers version of the program, yet would not appear in the BASIC module's program. This would permit the master program to be self documenting without consuming memory space in the target system. ABM Commander Plus carries this concept a step further by optionally down loading programs with all remarks in the program removed. Program lines which begin with a remark are reduced to just the line number and REM so that these line numbers can still be used in GOTO and GOSUB statements. Example 4.76 >10 REM Output the code >20 PRINT1 CD >30 IF INLEN2 = 0 THEN GOTO 30 : REM Wait for input STATEMENTS