Miranda optUncall

From Erights

(Difference between revisions)
Jump to: navigation, search
(describe optUncall)
(miranda method)
Line 1: Line 1:
-
'''__optUncall/0''' is a [[Miranda message]] which may return a [[portrayal]] of the object receiving it.
+
'''__optUncall/0''' is a [[miranda message]] which may return a [[portrayal]] of the object receiving it.
 +
 
 +
The [[miranda method]] for this message always returns <code>[[null]]</code>.
For [[Selfless]] objects, __optUncall is guaranteed to return a portrayal which exactly represents the object; if <var>a</var> is selfless, then <var>a</var> [[==]] E.call(E, "call", <var>a</var>.__optUncall()).
For [[Selfless]] objects, __optUncall is guaranteed to return a portrayal which exactly represents the object; if <var>a</var> is selfless, then <var>a</var> [[==]] E.call(E, "call", <var>a</var>.__optUncall()).

Revision as of 14:09, 21 April 2007

__optUncall/0 is a miranda message which may return a portrayal of the object receiving it.

The miranda method for this message always returns null.

For Selfless objects, __optUncall is guaranteed to return a portrayal which exactly represents the object; if a is selfless, then a == E.call(E, "call", a.__optUncall()).

__optUncall is typically used by serialization systems for the default portrayal in the absence of other knowledge about the object.

Personal tools
more tools