REM/de

(Difference between revisions)
Jump to: navigation, search
m (1 revision)
((**COPIED FROM ENGLISH PAGE**) =)
Line 1: Line 1:
== (**COPIED FROM ENGLISH PAGE**) === <span class="f_Header">Action</span> =
+
= <span class="f_Header">Funktion</span> =
  
Instruct the compiler that comment will follow.
+
Kompileranweisung für nachfolgenden Kommentartext.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>

Revision as of 02:09, 18 February 2013

Contents

Funktion

Kompileranweisung für nachfolgenden Kommentartext.

 

 

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