OT GetVariable
Parameter Type Description
inObject Longint A handle to an object inTag String → Tag of the item to retrieve outVarPointer Variable pointer → Pointer to a variable to receive the ← named item
Discussion
OT GetVariable gets a value in inObject from the item referenced by inTag. Every 4D variable type but 2D arrays can be retrieved with this command, including Boolean variables and arrays.
Note Boolean items stored in objects with OT PutVariable can only be retrieved with OT GetVariable.
If the object is not a valid object handle, an error is generated and OK is set to zero.
If no item in the object has the given tag, nothing happens.
If an item with the given tag exists and has the same type as the type of the destination variable, the variable’s data is replaced with the data stored in the object.
If an item with the given tag exists and has a type other than the type of the destination variable, an error is generated and OK is set to zero.
See Also

