Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
syntax [2019/08/25 19:24] – [Syntax] neils | syntax [2019/12/09 08:38] – [Syntax] neils | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Syntax ====== | ====== Syntax ====== | ||
- | An **XC=BASIC** program is built from one or more plain ASCII text files that consist of lines, allowing | + | An **XC=BASIC** program is built from one or more plain ASCII text files that consist of lines, allowing one or more statements |
- | Each line may contain a label, a statement, | + | Each line may optionally |
label1: print "hello world" | label1: print "hello world" | ||
label2: | label2: | ||
print "hello again" | print "hello again" | ||
+ | let x = 5 : print x : rem "these were more statements in a line" | ||
===== Whitespace ===== | ===== Whitespace ===== | ||