HANDLE ( handle-string )
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.A string representation of a handle. Since handles are integer values, the string must contain only numeric characters.The 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.
![]()
The HANDLE function can convert the string representation of procedure, system, and widget handles.
![]()
For SpeedScript, the only valid use is to convert the handle of a QUERY object that you create using the CREATE WIDGET statement.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |