Basics

Start with the instructions you will use most often in MiniScript+.

Statements

A program is made of clear statements. The engine reads them in order, unless an IF or WHILE changes the flow.

PRINT "Hello"
PRINT "World"

Variables

Variables store values that can be reused, printed or updated while the program runs.

X = 5
PRINT X

Math Operations

MiniScript+ supports arithmetic expressions, comparisons and helper functions such as INT, TRUNC and ROUND.

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

Conditions

Use IF statements when the program needs to choose between different paths.

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