Low - Crestron SIMPL+ Reference Manual

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

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
®

Advertisement

Table of Contents
loading

Table of Contents