Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Class(y) - <b>::</b> http://www.X-Hacker.org [<<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

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson