Description: Returns a stable zero-based index for a value within the current parser instance, adding unseen values to its internal list.
Calling convention: CIP_GetUniqueIndex(Value: Variant): Integer
Parameters:
Value: value converted to String. NULL is not added to the internal list.
Returns: Zero-based Integer index, or -1 for NULL. Repeated values return the same index while the parser's unique-index list is retained.
Availability: Default; stateful and scoped to the current parser instance.
Example:
CategoryIndex := CIP_GetUniqueIndex("CategoryA");