Unify beginner syntax while preserving compatibility, repair ownership and parser guards, add verified distribution tooling and VC6 Windows 98 build inputs, and clarify documentation and release status. Preserve DOS build-input line endings and exclude generated binaries/caches.
21 lines
280 B
Plaintext
21 lines
280 B
Plaintext
# Counting Example
|
|
# Shows how to use DO TIMES and REPEAT loops
|
|
|
|
SAY "Counting with DO TIMES:"
|
|
SET counter 1
|
|
|
|
DO 5 TIMES
|
|
SAY counter
|
|
SET counter counter + 1
|
|
END
|
|
SAY ""
|
|
SAY "Counting down with REPEAT:"
|
|
SET n 5
|
|
|
|
REPEAT
|
|
SAY n
|
|
SET n n - 1
|
|
UNTIL n = 0
|
|
|
|
SAY "Blastoff!"
|