Visara Master Console Center Scripting Guide User Manual
Page 242
![background image](https://www.manualsdir.com/files/808700/content/doc242.png)
Appendix B Command Syntax
Scripting Guide
242
Time
Pauses current script
execution until the specified
time is reached.
WAITUNTIL(%MidnightSeconds)
Variable
Fill an array with all of the
icon names in a class.
AICONNAMES($AssocArray,%Class,$ParentIcon)
Variable
Returns the number of
elements in the array.
ALEN(Array)==>%Elements
Variable
Reset the contents of an
array to “empty”.
ARESET(Array)
Variable
Returns the ASCII value of
a character.
ASCII($String)==>%Value
Variable
Sort a normal array. ASORT(NormArray,%Direction)
Variable
Populate a normal string
array with the string index
keys of an associative array
ASSOCKEYS(AssocArray,$NormArray)
Variable Returns
the
starting
position of a substring
within a string.
ATSTR($String,$Substring)==>%StartPos
Variable
Obtains the base directory
for the product.
BASEDIRECTORY()==>$DirectoryString
Variable
Returns the character whose
value is the ASCII code
given.
CHR(%Number)==>$String
Variable
Subtracts one from a
numeric variable’s value.
DEC%Variable
Variable
Decodes a string.
DECODE ($String[,$Key]) ==>$Result
Variable
Encodes a string.
ENCODE ($String[,$Key]) ==>$Result