Crestron simpl plus language ref 사용자 설명서
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.
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.
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