MiniScript+ basics
Learn the structure, values, operators, and comments used in a MiniScript+ program.
On this page
MiniScript+ is a compact language designed for learning algorithmic thinking. A program is read from top to bottom, one instruction at a time.
Try each example
Open the ScripticX editor, create a MiniScript+ project, and run the examples while changing one value at a time.
Your first program
Use PRINT to display a value:
PRINT "Hello, ScripticX!"PRINT 2 + 3MiniScript+ is case-insensitive, although the documentation uses uppercase keywords to make instructions easy to recognize.
Statements
Each line contains an instruction or an assignment. You do not need semicolons.
score = 10bonus = 5PRINT score + bonusBlank lines are ignored, so you can use them to separate logical sections.
Values and operators
MiniScript+ supports numbers, text, and boolean values.
| Kind | Example | Typical use |
|---|---|---|
| Number | 42, 3.14 | Calculations and counters |
| Text | "hello" | Messages and labels |
| Boolean | TRUE, FALSE | Conditions and decisions |
Common arithmetic operators are +, -, *, /, DIV, and MOD.
total = 8 + 4half = total / 2remainder = 17 MOD 5PRINT halfPRINT remainderComments
Everything after # on a line is a comment. Comments explain intent and are not executed.
# Calculate the final scorebase = 80bonus = 10 # awarded for speedPRINT base + bonusQuick checklist
- Write one instruction per line.
- Put text between double quotes.
- Use
#for explanations. - Continue with variables.
Use straight double quotes (
") in code. Typographic quotes copied from rich-text editors are not valid string delimiters.