Integer comparison: Difference between revisions

Content added Content deleted
mNo edit summary
Line 2,036: Line 2,036:
=={{header|Oforth}}==
=={{header|Oforth}}==


<lang Oforth>func: cmpInt
<lang Oforth>import: console

: cmpInt
| a b |
| a b |
doWhile: [ System.Console askln asInteger dup ->a isNull ]
doWhile: [ System.Console askln asInteger dup ->a isNull ]