2015-08-02 12:12:44 +00:00
|
|
|
A '''colon''' can be used to separate two unrelated procedure statements on the same line.
|
|
|
|
|
|
|
|
|
2019-04-15 01:15:33 +00:00
|
|
|
''Usage:'' COLOR 10: PRINT "Hello "; : COLOR 12: PRINT "World"
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
{{OutputStart}}
|
|
|
|
{{text|Hello |limegreen}}{{text|World|red}}
|
|
|
|
{{OutputEnd}}
|
|
|
|
|
|
|
|
|
|
|
|
* Use colons to combine variable definition statements or screen [[PRINT|prints]].
|
|
|
|
* Some statements such as [[END IF]] and [[Metacommand]]s require a new code line!
|
|
|
|
* Use [[Semicolon|semicolons]] and [[Comma|commas]] where appropriate in [[PRINT]]s.
|
|
|
|
* Use an [[underscore]] at the end of a line to extend a line of code to the next line.
|
|
|
|
|
|
|
|
|
|
|
|
''See also:''
|
|
|
|
|
|
|
|
* [[Comma]], [[Semicolon]]
|
|
|
|
|
|
|
|
|
2019-04-15 01:15:33 +00:00
|
|
|
{{PageNavigation}}
|