Returns the low word of a long value.
IntLow ( long )
Argument |
Description |
---|---|
long |
A long value |
Integer. Returns the low word of long if it succeeds and -1 if an error occurs. If long is null, IntLow returns null.
One use for IntLow is for decoding values returned by external C functions and Windows messages.
These statements decode a long value LValue into its low and high integers:
integer nLow, nHigh
long LValue = 12345
nLow = IntLow(LValue) //The Low Integer is 12345.
nHigh = IntHigh(LValue) //The High Integer is 0.