LPL Reference
The Reference
Using the LI-6400 24-53
with MATHERR:
MAX
Return maximum value
Initial / Final: (See Two Value Transforms on page 24-13.)
MEM Returns memory status
Initial: -
Final: Long
largestBytes, Long totalBytes
MEMMAP Prints allocation information about the heap
Initial: [Path dest (default = COMM)]
Final: -
MESSBOX Pop up a boxed message
Initial: Num mode (=0), [Num pos1, Text lab1, [Num pos2, Text lab2]] Text messge
Final: -
-or-
Initial: Num mode (=1), [Num pos1, Text lab1, [Num pos2, Text lab2]] Text messge
Final: LONG keyCode
-or-
Initial: Text keys, Num 2, [Num pos1, Text lab1, [Num pos2, Text lab2]] Text messge
Final: LONG keyCode
Mode 0:does not pause execution to wait for the user. The message goes up, and exe-
cution continues. There is no automatic cleanup.
Mode 1:waits for the user to press any key after the message is displayed. When this
happens, the message and frame go away, and the underlying display is restored. If no
frame labels are defined, ÒPress Any KeyÓ will appear on the lower frame.
Mode 2
:also waits for a user keystroke, except that the allowed keys are specified. es-
cape is always assumed to be an allowed key.
MIN
Returns min value
Initial / Final: (See Two Value Transforms on page 24-13.)
Related Keywords:MAX
Table 24-25. Math Errors Fixed by MATHERR
Error How Fixed
Divide by 0 Result is 0
Argument out of range Result is 0
Negative number raised to a non-
integer power
Result is 0