Hello World
Start with the simplest possible Standard program:.std file. Then, inside Standard, run it with:
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 afor 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.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.