Crestron simpl plus language ref 사용자 설명서

다운로드
페이지 374
Crestron SIMPL+
®
Software 
Language Reference Guide - DOC. 5797G
 SIMPL+
®
 
z 233
Upper
Name:
Upper
Syntax:
STRING Upper(STRING SOURCE);
Description:
Takes a source string and converts characters with the values a-z (lowercase) to A-Z 
(uppercase).
Parameters:
SOURCE is a string to be converted to uppercase. SOURCE is not modified, unless 
it is also used as the return value, e.g., S$=UPPER(S$);
Return Value:
A STRING containing the uppercase version of SOURCE. Characters that do not fall 
into the range a-z are not modified and will stay as specified.
Example:
STRING_INPUT IN$[100];
STRING UPPER$[100];
 
CHANGE IN$
{
UPPER$ = UPPER(IN$);
PRINT(“Uppercase version of %s is %s\n”,IN$, UPPER$);
}
In this example, if IN$ contains “Hello There 123!” then UPPER$ contains “HELLO 
THERE 123!”.
Version:
SIMPL+ Version 1.00