mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 16:31:16 +00:00
8 lines
176 B
Smalltalk
8 lines
176 B
Smalltalk
|
#
|
||
|
# SELECT test
|
||
|
#
|
||
|
FORWARD success;
|
||
|
FORWARD failure;
|
||
|
: try_99 99 = IF success ELSE failure ENDIF ;
|
||
|
: MAIN 99 10 9 8 7 6 5 4 3 2 1 10 5 SELECT 5 = IF try_99 ELSE failure ENDIF ;
|