RosettaCodeData/Task/Integer-comparison/Retro/integer-comparison.retro

5 lines
125 B
Plaintext

:example (ab-)
dup-pair gt? [ 'A>B s:put nl ] if
dup-pair lt? [ 'A<B s:put nl ] if
eq? [ 'A=B s:put nl ] if ;