Creates a call object, then stores a handle to it in the handle variable specified. The call object, its attributes, and its methods, are used by applications to invoke logic dynamically.
Syntax
CREATE CALL handle [ IN WIDGET-POOL widget-pool] [ NO-ERROR ]
|
-
handle
- A HANDLE expression that indicates the name of a HANDLE variable
into which a handle to the new call object is stored.
- IN WIDGET-POOL widget-pool
- A CHARACTER expression that indicates the name of the widget pool
to contain the new call object.
- NO-ERROR
- The NO-ERROR option is used to prevent the
statement from raising ERROR and displaying error messages.
Notes
- Unlike
most ABL objects, the call object, by default, is assigned not to
the closest unnamed widget pool, but rather to the SESSION widget pool.
- A call object is deleted automatically when its widget pool
is deleted. To delete it earlier than its widget pool, use the DELETE
OBJECT statement.