HANDLE function
Converts a string representation of a handle to a valid handle.
Syntax
Caution: Use this function only to convert a handle previously stored as a string value back to a valid handle. If you convert an arbitrary string to handle using this function and then reference the new handle, a system error will occur. If you use the VALID-HANDLE function to validate a handle generated from an arbitrary string value, a system error will occur.handle-string
ExampleThe following procedure creates a frame, stores the handle of the frame as a string value, deletes the frame, converts the string representation of the frame handle back to a valid handle, and then tests if the handle is valid:
The VALID-HANDLE function returns a FALSE value because the frame was deleted and the handle is no longer valid.
NotesSee alsoCREATE widget statement, DATE function, DECIMAL function, INTEGER function, STRING function, VALID-HANDLE function
OpenEdge Release 10.2B
|