beautypg.com

Visara Master Console Center Scripting Guide User Manual

Page 242

background image

Appendix B Command Syntax

Scripting Guide

242

WAITUNTIL

Time

Pauses current script
execution until the specified

time is reached.

WAITUNTIL(%MidnightSeconds)

AICONNAMES

Variable

Fill an array with all of the

icon names in a class.

AICONNAMES($AssocArray,%Class,$ParentIcon)

ALEN

Variable

Returns the number of
elements in the array.

ALEN(Array)==>%Elements

ARESET

Variable

Reset the contents of an
array to “empty”.

ARESET(Array)

ASCII

Variable

Returns the ASCII value of

a character.

ASCII($String)==>%Value

ASORT

Variable

Sort a normal array. ASORT(NormArray,%Direction)

ASSOCKEYS

Variable

Populate a normal string

array with the string index

keys of an associative array

ASSOCKEYS(AssocArray,$NormArray)

ATSTR

Variable Returns

the

starting

position of a substring

within a string.

ATSTR($String,$Substring)==>%StartPos

BASEDIRECTORY

Variable

Obtains the base directory

for the product.

BASEDIRECTORY()==>$DirectoryString

CHR

Variable

Returns the character whose

value is the ASCII code
given.

CHR(%Number)==>$String

DEC

Variable

Subtracts one from a

numeric variable’s value.

DEC%Variable

DECODE

Variable

Decodes a string.

DECODE ($String[,$Key]) ==>$Result

ENCODE

Variable

Encodes a string.

ENCODE ($String[,$Key]) ==>$Result