2017-10-10 14:55:21 +00:00
|
|
|
The '''apostrophe''' is used to tell the compiler to ignore a statement or programmer comment.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
2017-10-10 14:55:21 +00:00
|
|
|
{{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.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
2017-10-10 14:55:21 +00:00
|
|
|
|
|
|
|
{{PageExamples}}
|
|
|
|
{{CodeStart}}
|
|
|
|
COLOR 11: PRINT "Print this...." ' PRINT "Don't print this program comment!"
|
|
|
|
{{CodeEnd}}
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
{{OutputStart}}
|
|
|
|
{{text|Print this....|aqua}}
|
|
|
|
{{OutputEnd}}
|
|
|
|
|
|
|
|
|
2017-10-10 14:55:21 +00:00
|
|
|
{{PageSeeAlso}}
|
2015-08-02 12:12:44 +00:00
|
|
|
* [[Comma]], [[Semicolon]]
|
|
|
|
* [[REM]]
|
|
|
|
|
|
|
|
|
|
|
|
{{PageNavigation}}
|