[<<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: Symbol Class
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson