REM
From MCS Wiki AVR
(Difference between revisions)
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = Instruct the compiler that comment will follow. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;">&...")
(Created page with "= <span class="f_Header">Action</span> = Instruct the compiler that comment will follow. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;">&...")
Latest revision as of 00:14, 12 February 2013
Contents |
Action
Instruct the compiler that comment will follow.
Syntax
REM or '
Remarks
You can and should comment your program for clarity and your later sanity.
You can use REM or ' followed by your comment.
All statements after REM or ' are treated as comments so you cannot use statements on the same line after a REM statement.
Block comments can be used too:
'( start block comment
print "This will not be compiled
') end block comment
Example
Rem TEST.BAS version 1.00 Print A ' " this is comment : PRINT " Hello " ^ - - - This Will Not Be Executed!
Languages | English • Deutsch |
---|