Up
Callback

Callback Method new

Return false this is not a metaclass. Return an instance of EntryCallback pointing to the entry-point aMessageName and up to six parameters. When you send this instance the "invoke" message, it invokes aMessageName on object aReceiver.

The parameters p1 to p6 are optional. The addresses of any parameters you pass into the "new" method are stored in the Callback instance. When you invoke the Callback instance, the parameters are passed through to method aMessageName preceeding the parameters passed through with the "invoke" message.

If you pass in more than six parameters with the "new" method then Callback raises an exception.

Return an instance of Callback with the receiver aReceiver, the message selector aMessageName and up to six parameters. When you send this instance the "invoke" message, it invokes method aMessageName on object aReceiver.

The parameters p1 to p6 are optional. The addresses of any parameters you pass into the "new" method are stored in the Callback instance. When you invoke the Callback instance, the parameters are passed through to method aMessageName preceeding the parameters passed through with the "invoke" message.

If you pass in more than six parameters with the "new" method then Callback raises an exception.

Using Parameters
areceiver OBJECT
amessagename PIC X(80)
p1 OBJECT
p2 OBJECT
p3 OBJECT
p4 OBJECT
p5 OBJECT
p6 OBJECT
p7notallowed OBJECT
Returning Parameter
result OBJECT