Crestron simpl plus language ref 사용자 설명서

다운로드
페이지 374
Crestron SIMPL+
®
Software 
Language Reference Guide - DOC. 5797G
 SIMPL+
®
 
z 299
Compiler Error 1012
syntax error:  Unterminated string constant
A literal string was used and was not contained within quotes.   If a quotation 
character is needed within a literal string, a backslash should be placed before the 
quotation character (i.e.:  \).  This will indicate to the compiler that the quotation 
character is not the terminating quote for the literal string.
The following are examples of this error:
FUNCTION MyFunc()
{
   Print( "%s", "abc\"" );  // ok
   Print( "%s", "abc\" );   // error - \" is not a closing quote
}
Compiler Error 1013
syntax error:  Source code does not evaluate to anything
A statement must perform an action in order to be valid.  If no action is specified, the 
statement will not be useful to the program.
The following are examples of this error:
FUNCTION MyFunc()
{
   INTTEGER x;
   STRING str[100];
   x = 5;       // ok
   str = “abc”; // ok
   x;           // error
   str;         // error
}