{{htmlmetatags>metatag-robots=() metatag-title=(REM | ugBASIC User Manual) metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum) metatag-description=(Manual page for REM) metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png) metatag-og:title=(REM | ugBASIC User Manual) metatag-og:description=(Manual page for REM) }} ====== ugBASIC User Manual ====== ===== REM ===== ===== SYNTAX ===== REM [comment] ' [comment] ==== PURPOSE ==== The ''REM'' keyword is used to include explanatory remarks in the source code of a program. In the text of any comment you want to include, that is optional, a space is required between the ''REM'' keyword and comment. You can put a ''REM'' statement alone on a line, or you can put it on a line following another statement . The ''REM'' statement must be the last statement on the line. If it follows another statement, the ''REM'' must be separated from that statement by a colon ('':''). You can use a single quotation mark (') instead of ''REM''. This is true whether your comment follows another statement on the same line or sits alone on a line. However, you cannot continue a ''REM'' statement by using a line-continuation sequence (''_''). This means that, for a multiple-line comment, you need to use as many ''REM''s statements as the lines you comment. ==== EXAMPLE ==== REM this is a comment ' and this is a comment PRINT "ok": REM I am printing ok ==== AVAILABLE ON ==== * Atari (400/800) * Atari XL/XE * Commodore 128 (MOS 8502) * Commodore 128 (Zilog Z80) * Commodore 64 * Commodore 64+REU * TRS-80 Color Computer * TRS-80 Color Computer 3 * ColecoVision * Amstrad CPC 664 * Dragon 32 * Dragon 64 * Thomson MO5 * Thomson MO5 * Olivetti Prodest PC128 * Commodore PLUS/4 * SEGA SC-3000 * SEGA SG-1000 * VG-5000 * Commodore VIC-20 * ZX Spectrum 48 ==== ANY PROBLEM? ==== If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON REM|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY ===== [[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]