Identifiers are alphanumeric strings starting with a nonnumeric character and ending :
The interpreter uses a lexical binding, i.e. free variables in functions are bound to the functions' compilation environment.
Declares an array of the given size. The array type is determined by the expression type.
A standard for loop, using an index and optionally a step, which can be negative. If no identifier is found after the NEXT statement, it refers to the previous FOR loop.
Jumps to the given LABEL.
Evaluates the boolean-expression and executes the instruction following the THEN keyword if the result is TRUE. Otherwise, it executes the instruction following the ELSE keyword if any, or jumps to the next instruction.
Declares a LABEL, which can be accessed with a GOTO statement.
Stores the rightmost expression's value into the given variable or array cell.
Declares a subroutine. The return type is determined by the identifier type.
Prompts the user for either a number, string or boolean, displaying a string. The result is then stored into the right identifier.
Prints the concatenation of the print-arguments, where print-arguments is a list of numeric-expressions, string-expressions, or boolean-expressions separated with commas. The string-expressions and boolean-expressions are converted to strings before they are displayed. If the PRINT instruction line ends with a semicolon, then no new line is appended at the end of the printed string.
Initializes a graphic window of the given width (first parameter) and height (second parameter).
Resizes the graphic window to the given width (first parameter) and height (second parameter).
Moves the current coordinates to the given x (first parameter) and y (second parameter).
Draws a point at the current coordinates in the graphic window.
Draws a line from the current coordinates to the given (first parameter, second parameter) coordinates, and sets the current coordinates to (first parameter, second parameter).
Sets the current drawing color, using three values between 0 and 255 which represent respectively the values of RED, GREEN, BLUE, or using a string representing the color, which can be:
Draws an empty rectangle with the given width (first parameter) and height (second parameter) at the current coordinates.
Draws a filled rectangle with the given width (first parameter) and height (second parameter) at the current coordinates.
Draws an empty ellipse with the given width (first parameter) and height (second parameter) at the current coordinates.
Draws a filled ellipse with the given width (first parameter) and height (second parameter) at the current coordinates.
Returns a random decimal number between 0 and the given value (first parameter).
Returns the integer value of the given expression.
Returns the exponential of the given expression.
Returns the logarithm of the given expression.
Returns the sine of the given expression.
Returns the cosine of the given expression.
Returns the arc sine of the given expression.
Returns the arc cosine of the given expression.
Returns the absolute value of the given expression.
Returns the squared value of the given expression.
Returns the first expression modulo the second expression.
Returns the length of the given string.
Returns the ASCII value of the first character from the given string.
Returns a string containing the leftmost characters of the given string. The wanted length is the second parameter.
Returns a string containing the rightmost characters of the given string. The wanted length is the second parameter.
Returns the string representation of the given number. If a second parameter is given and the return value would be shorter than this value, the string is padded with spaces to be as long as this value.
Returns a substring of the first parameter starting at the position given by the second parameter, with a length of the optional parameter. If no third parameter is given, the substring ends at the end of the initial string.
Waits for the given amout of time (in seconds).