Files
Claro/examples/counting.claro
T
Hermes Agent d555071406 fix: stabilize learning path, reliability and legacy Windows builds
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.
2026-10-20 22:40:19 +00:00

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!"