0.2.1 How it works
In English, "if" is an ordinary word and If is a word of the language. So they are never confused, every language word inside a paragraph appears as a pill with a shaded background and the same colours as the editor: If, While, Define age As Integer.
Slots are the places where something you choose goes. They are written between angle quotes, like «condition» or «name». They are never copied as they are: they are replaced by real code.
Three stacked examples. A code pill with the word If; a dashed slot with the word condition; and a program block with a title, a line number, a Write instruction and, below, a band with the output.
Complete programs go in numbered blocks. Below each block you see the output the engine produced and how the run ended. The "Try in the editor" button opens it as a new document.
ProgramA program with its output
Algorithm Edad
Define edad As Integer <- 12;
Write "Tengo ", edad, " años";
EndAlgorithmOutput
Tengo 12 años
The program finishes normally.
0.2.2 Colours
Colours follow the editor. Words that structure the program (If, While, Algorithm) have one colour; subroutine words (Subroutine, Return) another; object words (Class, New) a third. Numbers, texts and boolean values have their own. Colour helps, but it is never the only clue: the text always says the same thing without colour.
In short
- Language words appear as code pills.
- Slots «like this» are replaced by your own code.
- Every program shows its real output below.
- The colours are the editor's.