d2244a2f ^
bbff2a35 ^
1
2 3 4
5
6 7 8 9 10 11 12 13 14 15
# example program: reading keys from keyboard # # Keeps printing 'a' until you press a key. Then prints the key you pressed # and exits. recipe main [ switch-to-display { c:character, found?:boolean <- read-key-from-keyboard break-if found?:boolean print-character-to-display 97:literal loop } return-to-console ]