bas7advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
REM Statement Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
REM allows explanatory remarks to be inserted in a program.
 
REM remark
' remark
 
    ■ A single quotation mark can be used instead of the REM keyword.
    ■ If the REM keyword follows other statements on a line, it must
      be separated from the statements by a colon.
 
Usage Notes
    ■ REM statements are not compiled, but they appear exactly as entered
      when the program is listed.
    ■ You may branch from a GOTO or GOSUB statement to a REM statement.
      Execution continues with the first executable statement after the
      REM statement.
    ■ REM statements also are used to introduce metacommands (see
      Metacommand Syntax)
    ■ Do not use the single quotation form of the REM statement
      in a DATA statement because it will be considered valid data.