Le 14 parole chiave sono, in ordine alfabetico,
Else, ElseIf, EndFor, EndIf, EndSub, EndWhile, For, Goto, If, Step, Sub, Then, To, While
Permettono di realizzare le classiche strutture di controllo
if, for, while e sub.
If
1 2 3 |
If EL1 Then I1 EndIf |
Else
1 2 3 4 5 |
If EL1 Then I1 Else I2 EndIf |
ElseIf
1 2 3 4 5 6 7 |
If EL1 Then I1 ElseIf EL2 Then I2 Else I3 EndIf |
For
1 2 3 |
For I=1 To N I1 EndFor |
Step
1 2 3 |
For I=1 To N Step X I1 EndFor |
While
1 2 3 |
While EL1 I1 EndWhile |
Sub
1 2 3 |
Sub NOME I1 EndSub |
Goto
1 2 3 4 |
Goto NOME I1 NOME: I2 |