Crestron simpl plus language ref 사용자 설명서
Software Crestron
SIMPL+
®
14
z SIMPL+
®
Language Reference Guide - DOC. 5797G
// printed is hello,
// world.
The second form of comment characters are the block comments. /* starts a block
comment and */ ends a block comment. This is useful for commenting out large
sections of code or writing large sections of documentation. Note that nested
comments are not supported. Also, if /* or */ appear inside of a quoted string such as
in an PRINT statement, they are not considered comments but part of the string.
comment and */ ends a block comment. This is useful for commenting out large
sections of code or writing large sections of documentation. Note that nested
comments are not supported. Also, if /* or */ appear inside of a quoted string such as
in an PRINT statement, they are not considered comments but part of the string.
Examples:
/*
This
is
all
a comment!
*/
PUSH Trig
{
// code that does something.
}
Relative Path Names for Files
Your current working directory is reset to the default (“\” or root) whenever
“StartFileOperations” is performed. It is changed only by “SetCurrentDirectory”.
“StartFileOperations” is performed. It is changed only by “SetCurrentDirectory”.
File names can consist of full path names or relative path names.
•
Full path names have the same restrictions as DOS file names in
characters and format, with a maximum length of 256 characters.
•
Relative path names do not begin with a “\” and start from the current
working directory.