This function retrieves the type, whether node or element, of a descriptive label based on a specified label index.
GetLabelType (string DatabaseName, int LabelIndex)
DatabaseName (character string). The full path name to the relevant database.
LabelIndex (integer). The relevant node/element label index.
1 (for a node)
2 (for an element)
-9999998 (if the specified database is invalid)
-9999999 (if the specified index is out of range)