Cigue
2010-02-05 16:50:54
Is there a function that returns the highest of two integers?
Floor66
2010-02-05 16:52:01
scar manual:
function Max(a, b: Integer): Integer;
Returns biggest of two integer values.
Baked0420
2010-02-06 16:22:15
even if you didn't know that function, you should still be able to tell, you could've just done something like if(x>y)then writeln('x is bigger') else ('y is bigger'). Not hard to make your own Max function :p.