Basics

Simple examples to understand how the language works before moving to larger problems

Printing text

Use PRINT to display messages.

PRINT "Hello"
PRINT "World"

Variables

Store values in variables and print them.

X = 5
PRINT X

Math operations

You can perform calculations using operators.

A = 5 + 3
B = A * 2
PRINT B

Conditions

Use IF statements to control the path of execution.

X = 10
IF X > 5 THEN
  PRINT "Big"
END