OT GetDate version 1
OT GetDate(inObject; inTag) Date
→
Parameter Type Description
inObject Longint A handle to an object
→
inTag String Tag of the item to retrieve
→
Function result Date The retrieved item
←
Discussion
OT GetDate gets a value in inObject from the item referenced by inTag.
If the object is not a valid object handle, an error is generated, OK is set to zero, and a null date (!00/00/00!) is returned.
If no item in the object has the given tag, a null date is returned. If the FailOnNoItem option is set, an error is generated and OK is set to zero.
If an item with the given tag exists and has the type Is Date, the value of the requested item is returned.
If an item with the given tag exists and has any other type, OK is set to zero, and a null date is returned.
See Also

