LOOP
In the Hardwired setting (year 2151), an EBASIC command: repeats a set of commands until a condition is met; kinds: ‘for’ (a set number of times), ‘while’ (until the condition is no longer true, possibly forever) and ‘until’. Examples: LOOP FOR 1 TO 100, LOOP UNTIL CODE IS BROKEN. NEXT marks the end of a for-loop; END marks the end of while/until loops. (CP3201 p.61)
Key facts
- repeats a set of commands until a condition is met; kinds: ‘for’ (a set number of times), ‘while’ (until the condition is no longer true, possibly forever) and ‘until’. Examples: LOOP FOR 1 TO 100, LOOP UNTIL CODE IS BROKEN. NEXT marks the end of a for-loop; END marks the end of while/until loops. (CP3201 p.61)
Relations
- part_of:: EBASIC commands
Sources
- CP3201: Cyberpunk - Hardwired - The Sourcebook (1989), PDF p. 61