Difference between revisions of "MC-Basic:REM"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:REM}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 42: Line 43:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:FUNCTION ... END FUNCTION|FUNCTION ... END FUNCTION]]
+
* [[MC-Basic:FUNCTION ... END FUNCTION|FUNCTION ... END FUNCTION]]
* [[Axystems:MC-Basic:PROGRAM ... END PROGRAM|PROGRAM ... END PROGRAM]]
+
* [[MC-Basic:PROGRAM ... END PROGRAM|PROGRAM ... END PROGRAM]]
* [[Axystems:MC-Basic:br SUB ... END SUB|br SUB ... END SUB]]
+
<!-- * [[MC-Basic:br SUB ... END SUB|br SUB ... END SUB]] -->
  
  
 
}}
 
}}

Latest revision as of 09:00, 27 April 2017

Language: English  • 中文(简体)‎

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