<< Click to Display Table of Contents >> Navigation: Explain™ Control Language > Library Routines > Define classes and functions > ClassIndex() |
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)
..........
REGULAR FUNCTION
Result = ClassIndex(Item)
Item |
any type |
The variable to be identified. |
Result |
INDEX |
A code identifying the class or data type. |