MC-Basic:REM

From SoftMC-Wiki
Revision as of 16:00, 13 December 2010 by Arwiebe (talk | contribs) (Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= REM This is a comment<br> ‘ This is also a comment |AVAILABILITY= All versions |DESCRIPTION= Comments are freely inserted into code, eith…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Comments are freely inserted into code, either as individual lines or at the end of a line of code. Comments begin with either the REM keyword or with the apostrophe character (’), and end with the end of the line.

Syntax

REM This is a comment

‘ This is also a comment

Availability

All versions

Scope

Task

Limitations

The maximum length of a line is 16,384 characters.

Examples

REM This is a comment line

' This is also a comment line

Move a1 156.7                                            rem Move axis a1 to position 156.7

Move a2 0                                                   ' Comment with an apostrophe

See Also