[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ::
 Synonym for self:
------------------------------------------------------------------------------

 Syntax:

    ::<message>[ ( [<parameter list>] ) ]

 Arguments:

    <message> is the name of the message to be sent to self.

    <parameter list> is the list of parameters to be sent to the method
    being invoked.

 Description:

    The double-colon is shorthand for a message send to self, used inside a
    method.

    For example, instead of an expression such as self:aMsg, the double
    colon can be used, as in ::aMsg.  Examples of this abound in the
    sample source.

    When messages to self are being sent often, which is the case in most
    methods, this abbreviation can make code far more readable.  Its use is
    recommended.

See Also: self
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson