Anglish Program Syntax
In Anglish program syntax, the program name is
followed by a colon. The statements in the body of the program end
with ";" and the last (i.e. END) statement in a program ends with
a period ".". For example:
Calculate wages:
Statement1;
:
END.
The syntax of "for" and "wherever" restricted plurals is similar to Anglish
program syntax. The similarity is intentional. It is intended to provide a
regular syntax pattern in the program to make it easy to
detect punctuation errors. For example:
Wherever logical expression Do: For Joan and John:
statement1; statement1;
: :
statementn. statementn.
elsewhere do:
statementn+1;
:
statementm.
More complex programs often include
multiple tables.