EasyManua.ls Logo

Crestron SIMPL+ - Chr Function

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Crestron SIMPL+
®
Software
Language Reference Guide - DOC. 5797G SIMPL+
®
z 111
Chr
Name:
Chr
Syntax:
STRING Chr(INTEGER CODE);
Description:
Takes the integer value specified and returns the corresponding ASCII character as a
one-byte string.
Parameters:
CODE contains a number from 0 to 255 to be converted into an ASCII string.
Return Value:
A string representing the code. If CODE is greater than 255, lower 8-bits of CODE
are used in the computation.
Example:
STRING_OUTPUT Code$;
ANALOG_INPUT VALUE;
CHANGE VALUE
{
Code$ = CHR(VALUE);
PRINT(“Code = %s\n”, Code$);
}
In this example, if VALUE was equal to 72, the output would be Code = H.
Version:
SIMPL+ Version 1.00

Table of Contents

Other manuals for Crestron SIMPL+

Related product manuals