Apostrophe - QB64 Wiki

Apostrophe

From QB64 Wiki

Jump to: navigation, 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:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • 54.165.90.203
  • Talk for this IP
  • Log in
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version