ScripticXLearn programming visually
Platform
Problems
Community
Leaderboard
Learn
Docs
BasicsVariablesLoopsInput / Output
Examples
BasicsLoopsConditionsAlgorithms
What's newHelpContact
Loading…

Documentation

MiniScript+

DocumentationMiniScript+
Getting started
MiniScript+ basics
Language basics
VariablesLoopsInput and output
Documentation/MiniScript+ basics

MiniScript+ basics

Learn the structure, values, operators, and comments used in a MiniScript+ program.

On this page
Your first programStatementsValues and operatorsCommentsQuick checklist

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:

MS+MiniScript+
1PRINT "Hello, ScripticX!"2PRINT 2 + 3

MiniScript+ 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.

MS+MiniScript+
1score = 102bonus = 53PRINT score + bonus

Blank lines are ignored, so you can use them to separate logical sections.

Values and operators#

MiniScript+ supports numbers, text, and boolean values.

KindExampleTypical use
Number42, 3.14Calculations and counters
Text"hello"Messages and labels
BooleanTRUE, FALSEConditions and decisions

Common arithmetic operators are +, -, *, /, DIV, and MOD.

MS+MiniScript+
1total = 8 + 42half = total / 23remainder = 17 MOD 54​5PRINT half6PRINT remainder

Comments#

Everything after # on a line is a comment. Comments explain intent and are not executed.

MS+MiniScript+
1# Calculate the final score2base = 803bonus = 10  # awarded for speed4PRINT base + bonus

Quick 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.

NextVariables

On this page

Your first programStatementsValues and operatorsCommentsQuick checklist