Apostrophe

From QB64 Wiki
Revision as of 06:13, 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: COLOR 11: 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:



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