Visara Master Console Center Scripting Guide User Manual
Page 239

Appendix B Command Syntax
Scripting Guide
239
(ENDWHILE)
Flow
Control
Repeats a sequence of
commands while an
expression evaluates to
TRUE.
WHILE…ENDWHILE
Misc.
Returns the class name for a
class number
CLASSNAME(%Class])==>$ClassName
Misc.
Returns the class number
for a class name string.
CLASSNUM([$ClassName])==>%Class
Misc.
Returns the error message
associated with the error
number.
ERRORMSG(%ErrNum)==>$ErrMsg
Misc.
Returns the error number
for the most recent
command.
ERRORNUM()==>%ErrNum
Object
Manager
Executes an action on an
object.
OBJEXEC(%ObjID,$Action[,Parms…])==>ReturnValue
Object
Manager
Returns the current value in
an object’s field.
OBJGET(%ObjID,$ObjFieldName)==>$CurrentValue
Object
Manager
Populates an associative
string array with the
current field values from an
object.
OBJGETARRAY(%ObjID,$AssocArray)==>%Success
Object
Manager
Returns the ID (unique only
for the particular script
thread) for a MCC object.
OBJID(%Class,$ObjKeyExpr)==>%ObjectID
Object
Manager
Returns the number of
children of the selected
object ID.
OBJIDARRAY( %Class, %ObjIDParent, %AssocArray)==>
%Children