REM
Remarks
This directive designates a REMARKS program statement.
Syntax
Section titled “Syntax”REM [comment]Remarks
Section titled “Remarks”In a compound statement, anything after the REM directive should be treated as a remark and ignored. In other words, REM directives cannot be imbedded in the middle of a compound statement since they cause the entire remaining statement to be treated as a remark.
This is the only directive that can appear at the end of program line statement that produces an unconditional branch without causing a syntax error.
Examples
Section titled “Examples”00010 REM "PROGRAM TO CALCULATE VALUES"This statement is not executed, but serves to identify the program.
LET X = 45; REM "SETS VALUE OF PAGE LENGTH TO 45"This REM directive serves as a comment to the action of the statement.
LET X = 45; REM "SETS VALUE OF PAGE LENGTH TO 45"; LET Y = 50is treated just as the previous example since the REM directive causes all remaining statement code to be ignored, even the apparent directive, LET Y = 50.
From the Thoroughbred Basic Language Reference, Volume III: R–Z, version 8.9.1. Open this page in the PDF