mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-31 12:20:16 +00:00
25 lines
No EOL
684 B
Text
25 lines
No EOL
684 B
Text
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 [[Metacommand|metacommand]]s 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't print this program comment!"
|
|
{{CodeEnd}}
|
|
|
|
{{OutputStart}}
|
|
{{text|Print this....|aqua}}
|
|
{{OutputEnd}}
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
* [[Comma]], [[Semicolon]]
|
|
* [[REM]]
|
|
|
|
|
|
{{PageNavigation}} |