From QB64 Wiki
Revision as of 02:07, 18 October 2010 by imported>Clippy
Jump to navigation Jump to search

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

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

Print this....

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

See also:

Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page