Skip to main content
The best way to get comfortable with Standard is to write and run real code right away. This guide walks you through your first Standard program — the classic “Hello World” — and then builds on it with user input and a loop so you can see more of the language in action.

Hello World

Start with the simplest possible Standard program:
Save this as a .std file. Then, inside Standard, run it with:
You should see Hello World! printed to the console. Congratulations — you’ve written and executed your first Standard program.

Taking Input and Looping

Now let’s make things interactive. The program below asks the user to pick a number, then increments and prints that number five times using a for loop:
1

Declare the variable

number 0 creates a variable called number and initializes it to 0, establishing it as an integer type.
2

Collect user input

in number "Pick a number:" displays a prompt and stores whatever the user enters into number.
3

Loop and increment

for: 5 { ... } runs the block exactly five times. Inside, number++ increments the value before print outputs it to the console.
Comments in Standard start with #. Use them liberally to document what each section of your code does — especially when you’re learning the language.

What’s Next

Now that you’ve run your first program, explore the rest of the Standard language:

Variables & Types

Learn how to declare variables and work with Standard’s built-in types.

Operators

Perform arithmetic and string operations in your programs.

Conditions

Control program flow with if, else, and boolean logic.

Loops

Repeat code efficiently with for and while loops.