Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - asend() send an oop message to an array of objects http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ASend()                Send an OOP message to an array of Objects
--------------------------------------------------------------------------------

   Syntax:          ASend( <aArray>, <cMsg>, <uParam1>, ..., <uParamN> )

   Parameters:

   <aArray>             An array of objects.

   <cMsg>               A literal describing the OOP message to send to the
                        object. It is the same as doing the following code,
                        but in a much more efficient way, and without having
                        to know in advance which OOP message will be sent to
                        the array of objects:

                           local n

                           for n = 1 to Len( <aArray> )
                              <aArray>[ n ]:<cMsg>( <uParam1>, ..., <uParamN> )
                           next


   <uParam1>            A list of optional parameters to be supplied as
   <uParamN>            parameters to the method.

   Returns:         nil

   Source code:     C language. Not provided.

   See also:        OSend()


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