Visara Master Console Center Scripting Guide User Manual
Page 250
Appendix B Command Syntax
Scripting Guide
250
Command Command
Type
Description Syntax
Alerting
Returns an icon’s name.
ICONNAME([%Port]])==>$Name
Alerting
Returns an icon’s current status. ICONSTATUS([%Class[,$Name]])==>%Status
(ENDIF)
Flow
Control
Evaluates an expression for TRUE or FALSE.
(If…Then statement)
IF…[ELSE…]ENDIF
Variable
Adds one to a numeric variable’s value.
INC%Variable
Variable Combines
the elements of an array into a string. JOIN($Array,$Delimiter)==>$String
Console
Message
Enters a character string to the specified console. KEY(%Port,$Keys[,%Timeout])==>%RetCode
Variable
Returns the leftmost specified number of
characters of a string expression.
LEFTSTR($String,%Count)==>$Substr
Variable
Returns the leftmost specified number of
characters of a string expression.
LEFTSTR($String,%Count)==>$Substr
Variable
Returns the number of characters in a string
expression.
LEN($StringExpr)==>%Count
File
Enters a message in a log. LOG(%LogType,$Message[,%Status])
Variable Converts
uppercase characters to lowercase. LOWER($String)==>$Lowercase
File
Creates a unique temporary directory for I/O
access.
MKDTEMP($Pattern)==>$DirectoryName
File
Opens a unique temporary file for I/O access.
MKSTEMP($Pattern)==>%FileHandle
File
Returns a unique file name
MKTEMP($Pattern)==>$FileName
Variable Obtains
the
product name.
MONIKER()==>$Name