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>perform</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    perform
------------------------------------------------------------------------------

    The perform message sends a specified message to the target object.
    The message to be sent is specified by an object of class Symbol.  A
    Symbol object must be the first parameter to the perform message.
    All following parameters are passed to the invoked method as is.

    For example, the following code fragment creates a Symbol object
    referring to the move message and sends it to the object obj,
    using the perform message.

        LOCAL oSym := Symbol():new( "move" )
        obj:perform( oSym, 15 )

    This has the effect of sending the move message to obj.  The
    second parameter passed to perform above, 15, will be passed to the
    move method as its first parameter.

See Also: ^bSymbol Class

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