Description: Returns a parser-local stable index for the current object's database ID, adding that ID to the parser's unique-index list on first use.
Calling convention: CIP_GetCurObjectIndex(): Integer
Parameters:
None.
Returns: Zero-based parser-local object index. With no current object, the implementation returns an uninitialized local value.
Availability: Default when a current object is assigned.
Example:
ObjectIndex := CIP_GetCurObjectIndex();