
previous_object(3)    LPC Library Functions    previous_object(3)

NNAAMMEE
       previous_object()  - returns the object(s) that called the
       current function

SSYYNNOOPPSSIISS
       mixed previous_object( int | void );

DDEESSCCRRIIPPTTIIOONN
       Returns an object pointer to  the  object,  if  any,  that
       called  current  function.  Note that local function calls
       do not set previous_object() to the  current  object,  but
       leave it unchanged.  If passed a positive integer, it goes
       back the given number of previous objects in  the  calling
       chain.    previous_object(0)   is   the   same  as  previ       ous_object(), previous_object(1) is the previous  object's
       previous_object(),  etc.   previous_object(-1)  returns an
       array containing all of the previous objects.

SSEEEE AALLSSOO
       call_other(3), call_out(3), origin(3)

Majik                      26 Jul 1997                          1

