ClassIndex()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Define classes and functions >

ClassIndex()

Description

Return a unique numerical code identifying the class or data type of a variable.

 

The primary use is in checking that two items are of the same data type or class. For example,

 

if (ClassIndex(Item1) eq ClassIndex(Pstat1)

..........

 

Type

REGULAR FUNCTION

 

Usage

Result = ClassIndex(Item)

 

Item

any type

The variable to be identified.

Result

INDEX

A code identifying the class or data type.

 

Related Topics