Apostrophe

From QB64 Phoenix Edition Wiki
Revision as of 17:01, 19 April 2022 by BigRon55 (talk | contribs) (Created page with "The '''apostrophe''' is used to tell the compiler to ignore a statement or programmer comment. {{PageDescription}} * Allows programmer comments or temporary code removal. * REM can also be used to "comment out" a line. * QBasic metacommands must be commented either with an apostrophe or REM. * $INCLUDE requires an apostrophe before and after the included file name. {{PageExamples}} {{CodeStart}} COLOR 11: PRINT "Print this...." ' PRINT "Don...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The apostrophe is used to tell the compiler to ignore a statement or programmer comment.

Description

  • Allows programmer comments or temporary code removal.
  • REM can also be used to "comment out" a line.
  • QBasic metacommands must be commented either with an apostrophe or REM.
  • $INCLUDE requires an apostrophe before and after the included file name.


Examples

COLOR 11: PRINT "Print this...." ' PRINT "Don't print this program comment!"
Print this....


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link