llvm-6502/projects/Stacker/test/max.st

8 lines
150 B
Smalltalk
Raw Normal View History

#
# MAX test
#
FORWARD success;
FORWARD failure;
: step2 2 1 MAX 2 = IF success ELSE failure ENDIF ;
: MAIN 1 2 MAX 2 = IF step2 ELSE failure ENDIF ;