1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-05 11:10:23 +00:00
qb64/internal/help/Apostrophe.txt

26 lines
655 B
Plaintext
Raw Normal View History

2017-10-10 14:55:21 +00:00
The '''apostrophe''' is used to tell the compiler to ignore a statement or programmer comment.
2017-10-10 14:55:21 +00:00
{{PageDescription}}
* Allows programmer comments or temporary code removal.
2019-04-15 01:15:33 +00:00
* [[REM]] can also be used to "comment out" a line.
2017-10-10 14:55:21 +00:00
* QBasic [[Metacommand|metacommand]]s must be commented either with an apostrophe or [[REM]].
* [[$INCLUDE]] requires an apostrophe before and after the included file name.
2017-10-10 14:55:21 +00:00
{{PageExamples}}
{{CodeStart}}
2019-04-15 01:15:33 +00:00
COLOR 11: PRINT "Print this...." ' PRINT "Don't print this program comment!"
2017-10-10 14:55:21 +00:00
{{CodeEnd}}
{{OutputStart}}
{{text|Print this....|aqua}}
{{OutputEnd}}
2017-10-10 14:55:21 +00:00
{{PageSeeAlso}}
* [[Comma]], [[Semicolon]]
* [[REM]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}