Integer comparison: Difference between revisions

Content added Content deleted
(Added FutureBasic example)
(Lingo added)
Line 1,434: Line 1,434:
next
next
</lang>
</lang>

=={{header|Lingo}}==
Lingo programs are normally not run in the console, so interactive user input is handled via GUI. To not clutter this page with GUI creation code, here only the comparison part of the task:
<lang lingo>on compare (a, b)
if a < b then put a&" is less than "&b
if a = b then put a&" is equal to "&b
if a > b then put a&" is greater than "&b
end</lang>


=={{header|LiveCode}}==
=={{header|LiveCode}}==