Software
®
104
SIMPL+
Low
Name:
Low
Syntax:
INTEGER Low(INTEGER VALUE)
Description:
Returns the lower (least significant) 8-bits of an Integer.
Parameters:
VALUE is an integer containing the value of the least significant byte.
Return Value:
The lower (least significant) 8-bits of the passed value.
Example:
ANALOG_INPUT VALUE;
CHANGE VALUE
{
PRINT("The lower byte of %X is %X\n", VALUE, LOW(VALUE));
}
This will print the input value and the lower 8-bits of the value in hexadecimal. For
example, if VALUE is 0x1234, then the output is:
The lower byte of 1234 is 34.
Version:
SIMPL+ Version 1.00
Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®
Need help?
Do you have a question about the SIMPL+ and is the answer not in the manual?
Questions and answers