title: "max" description: TRSE built-in method (from IDE help)
max
Systems: X16,C64, MEGA65, PLUS4, C128, VIC20, NES, OK64, PET, ATARI2600, APPLEII, SNES, ORIC, BBCM, ACORN, ATARI800
Parameters: b,b
Max ( a,b );
Returns the maximum of a and b. "b" must be a variable or a constant expression.
Example:
j:=max(j+1,100); // increases j from 0 to 100 but no more