Crestron simpl plus language ref 사용자 설명서
Software Crestron
SIMPL+
®
240
z SIMPL+
®
Language Reference Guide - DOC. 5797G
GenerateUserError
Name:
GenerateUserError
Syntax:
GenerateUserError(<Static Specification String> [, <arg1>
...]);
Description:
Places an error message into the control system's error log
Parameters:
<Static Specification String> is a quoted string that contains text and formatting
information. Format specifiers are of the form: %[[Pad]Width]specifier
information. Format specifiers are of the form: %[[Pad]Width]specifier
Refer to
“Print” on
for a list and description of valid Format Specifiers.
Return Value:
None.
Example:
Function MyFunc()
{
STRING sError;
sError = "Projector";
GenerateUserError( "The %s bulb has exceeded %d hours",
sError, 1000 );
}
Version:
SIMPL+ Version 3.01.07
Control System:
2-Series Only