Immediate call
From Erights
Revision as of 06:34, 20 April 2011 by 209.190.189.228 (Talk)
An immediate call, or call, is the operation in E which corresponds to the “method call”, “function call”, or sometimes “message send” of other object-oriented systems.
In E, an immediate call can only be performed on a near reference, and it always returns "immediately" — within the same turn, without waiting or blocking — as opposed to the eventual send.
The E-language syntax for a call is
recipient.verb(arg, arg, ...)
where recipient and arg are expressions and verb is an identifier or string literal.
Dynamic calls of arbitrary verb and argument count can be performed with E.call.
That's not just the best answer. It's the beetsst answer!