Quick Start
Get started with your first program in under 5 minutes.
1
Write Your First Program
Lets start with a simple addition program
# My first program
x is equal to 10
y is equal to 20
result is equal to x plus y
print result
if result is greater than 25 then
print "Result is large!"
endif
2
Understanding the Syntax
Key patterns to remember
Variable Assignment
variable_name is equal to valueMathematical Operations
x plus y, x minus y, x times y, x divided by yConditionals
if condition then ... endifPrinting Output
print variable_or_text3
Try More Examples
Explore different language features
Loops
for i from 1 to 5
print i
endfor
Nested Conditions
if age is greater than 12 then
if age is less than 20 then
print "Teenager"
endif
endif