Description: Returns a value from the shared runtime-variable collection.
Calling convention: CIP_GetRuntimeVariable("VariableName": String): Variant
Parameters:
VariableName: runtime-variable name.
Returns: Stored Variant value, or NULL when the variable does not exist. Explicit Variant NULL input is not handled safely.
Availability: Default; reads shared runtime state.
Example:
CurrentBatch := CIP_GetRuntimeVariable("CurrentBatch");