sovereign-intelligence
Front door to Drake Stapleton's sovereign stack.
Brought by drakestapleton
sovereign-intelligence / harness / examples / trap4_for_bound.om
| 1 | note trap4_for_bound: a for count above its bound traps 4 when pass N+1 would start, exit 104 |
| 2 | text before "before\n" |
| 3 | fn main to int |
| 4 | k = write 1 before 0 len before |
| 5 | n = ulong 11 |
| 6 | s = ulong 0 |
| 7 | for i ulong n bound 10 |
| 8 | s = add s i |
| 9 | end |
| 10 | ret int s |
| 11 | end |