MiniScript+ basics
Learn the core syntax of the language used on ScripticX.
Run each example in the ScripticX editor, then change one value and predict the result before running it again.
MiniScript+ keeps syntax intentionally compact so beginners can focus on reasoning and problem solving.
Values and variables
Variables store values that can be reused or changed:
1name = "Ana"2score = 1034PRINT name5PRINT scoreText values use quotation marks. Numbers can be used directly in calculations.
Conditions
Conditions let a program choose what to do:
1score = 8023IF score >= 50 THEN4PRINT "Passed"5ELSE6PRINT "Try again"7ENDThe statements between IF and END run according to whether the condition is
true or false.
Loops
Loops repeat a block of instructions:
1number = 123WHILE number <= 54PRINT number5number = number + 16ENDMake sure the condition eventually becomes false. Otherwise, the loop can continue indefinitely.
Input and output
Use input to receive a value and output to show a result:
1INPUT name2PRINT "Hello " + nameMiniScript+ is actively developed. The editor and exercise instructions are the source of truth for currently supported syntax.