[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
NUMLOW()
Returns the lower value byte in a 16-bit number
------------------------------------------------------------------------------
Syntax
NUMLOW(<nWORD|cHexWORD>) --> nByte
Argument
<nWORD|cHexWORD> Designates either a decimal number or hexadecimal
digit string.
Returns
The lower value byte in the <nWORD|cHexWORD> 16 bit number is returned.
Description
NUMLOW() breaks down a 16-bit number into its two bytes and returns the
higher byte as a result. Use NUMLOW() with such functions as SCANKEY()
or GETCURSOR(), so you can separate the two bytes of the keyboard scan
code.
Note
. An invalid parameter returns a value of -1.
Example
Breaks down the combined return value of GETCURSOR():
? "Last line for the cursor is:", NUMLOW(GETCURSOR())
See Also:
NUMHIGH()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson