beautypg.com

Classnum, Classnum, iconn – Visara Master Console Center Scripting Guide User Manual

Page 88

background image

Chapter 5 Script Commands

Scripting Guide

88

CLASSNUM

Syntax:

CLASSNUM( [$ClassName]) ==> %Class

Description:

Returns the class number for a class name string.

Action:

The class number for a class name string is returned.

Parameters:

$ClassName. String expression. Optional. A valid class name in a

string format (the icon class manifest constant name as a character
string). Refer to Icon Class/Icon Name on page 29 for more

information.
If the class name string is not specified, the current script class is used.

Returns:

Numeric value. The icon class number.

Notes:

1. CLASSNUM() is the inverse of CLASSNAME().
2. This function is not commonly used.

Example:

%Class := CLASSNUM()

See Also:

CLASSNAME, ICONNAME