Rem: Difference between revisions
Jump to navigation
Jump to search
Created page with "REM ''remarks'' '''remarks'' '''Description''' REM is used to include remarks, or comments, as text which is never executed, in a program. The optional component, ''remarks..." |
No edit summary |
||
Line 1: | Line 1: | ||
Rem ''remarks'' | |||
'''remarks'' | '''remarks'' | ||
== Description == | |||
Rem is used to include remarks, or comments, as text which is never executed, in a program. The optional component, ''remarks'', is any text. If used as the last of multiple statements on a single line, REM must be separated from the previous statement by a colon (:). The apostrophe (') synonym is similar to using REM, but no space is required between the apostrophe and the remarks, and no separating colon is needed on multi-statement lines. | |||
== Example == | |||
<pre> | <pre> | ||
Rem Rem Example | |||
Rem This example does absolutely nothing | |||
'It doesn't even have a single line of | 'It doesn't even have a single line of | ||
'executable code | 'executable code | ||
</pre> | </pre> | ||
== Output == | |||
<pre> | <pre> | ||
</pre> | </pre> | ||
[[Category:Language Reference]] |
Revision as of 02:51, 17 August 2012
Rem remarks
'remarks
Description
Rem is used to include remarks, or comments, as text which is never executed, in a program. The optional component, remarks, is any text. If used as the last of multiple statements on a single line, REM must be separated from the previous statement by a colon (:). The apostrophe (') synonym is similar to using REM, but no space is required between the apostrophe and the remarks, and no separating colon is needed on multi-statement lines.
Example
Rem Rem Example Rem This example does absolutely nothing 'It doesn't even have a single line of 'executable code