mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-20 11:29:24 +00:00
9 lines
159 B
Smalltalk
9 lines
159 B
Smalltalk
|
#
|
||
|
# WHILE test
|
||
|
#
|
||
|
FORWARD success;
|
||
|
FORWARD failure;
|
||
|
: body "." >s DROP -- ;
|
||
|
: do_while WHILE body END ;
|
||
|
: MAIN 20 do_while 0 = IF success ELSE failure ENDIF;
|