Difference between revisions of "Apostrophe"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m (Created page with '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 {{OutputS…')
 
imported>Clippy
m
Line 2: Line 2:




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


{{OutputStart}}
{{OutputStart}}

Revision as of 02:07, 18 October 2010

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:



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