| Did you know ... | Search Documentation: |
| @arg1 |
The var objects (function
objects) @arg1
... @arg10 are
used to pass context arguments when code
objects are executed using code->forward.
The example below shows this mechanism:
?- new(@m, and(message(@prolog, write, @arg1),
message(@prolog, nl))).
?- send(@m, forward, hello).
hello
They are also used to describe the arguments to user-defined method objects.
See also @receiver, @event,
class var, class function,
class method and
send_method->send.