[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
nLoByte( nWord )-> <nLoByte>
------------------------------------------------------------------------------
PARAMETER:
<nWord> Is the numeric word value ( Integer, 2 bytes )
RETURNS:
<nLoByte> is the least significant byte of <nWord>
DESCRIPTION:
A word is made of two bytes: a low byte and a high byte. This function
retrieves the low order byte. It is used, for example, to examine the
wParam argument of some windows messages.
EXAMPLE:
+--------------------------------------------------------------+
| /* Get the LoByte */ |
| nWord := 1534 // Hexadecimal : 05FEh |
| nByte := nLoByte( nWord ) // Hexadecimal : 0FEh = 254 |
+--------------------------------------------------------------+
SOURCE:
SOURCE\FUNCTION\HILOWORD.C
See Also:
nHiByte
nLoWord
nHiWord
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson