REM

From MCS Wiki AVR
Revision as of 23:14, 11 February 2013 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language