Miranda optUncall

From Erights

(Difference between revisions)
Jump to: navigation, search
(miranda method)
(uniform style for miranda pages)
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.
 +
 
 +
{{instance msgdoc|__optUncall|0||[[Portrayal]]}}
The [[miranda method]] for this message always returns <code>[[null]]</code>.
The [[miranda method]] for this message always returns <code>[[null]]</code>.

Revision as of 18:27, 26 July 2011

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

__optUncall/0

Signature: __optUncall() :Portrayal

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