Apostrophe: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
(Created page with "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 metacommands 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...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
The '''apostrophe''' is used to tell the compiler to ignore a statement or programmer comment. | The '''apostrophe''' is used to tell the compiler to ignore a statement or programmer comment. | ||
{{PageDescription}} | {{PageDescription}} | ||
Line 14: | Line 15: | ||
{{OutputStart}} | {{OutputStart}} | ||
{{ | {{Text|Print this....|aqua}} | ||
{{OutputEnd}} | {{OutputEnd}} | ||
Latest revision as of 22:14, 11 February 2023
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