High - Crestron SIMPL+ Reference Manual

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

Advertisement

Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®

High

Name:
High
Syntax:
INTEGER High(INTEGER VALUE);
Description:
Returns the upper (most significant) 8-bits of an Integer.
Parameters:
VALUE is an integer containing the value of the most significant byte.
Return Value:
The upper 8-bits of the passed value.
Example:
ANALOG_INPUT VALUE;
CHANGE VALUE
{
PRINT("The upper byte of %X is %X\n", VALUE, HIGH(VALUE))
}
This will print the input value and the upper 8-bits of the value in hexadecimal. For
example, if VALUE is 0x1234, then the output is:
The upper byte of 1234 is 12.
Version:
SIMPL+ Version 1.00
Software
®
SIMPL+
103

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIMPL+ and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF