previous_object.3

foundation2_fluffos_v1/lib/doc/driver/efuns/calls/previous_object.3 · 829 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

.\"returns a pointer to the object(s) that called the current function
.TH previous_object 3 "5 Sep 1994" MudOS "LPC Library Functions"

.SH NAME
previous_object() - returns the object(s) that called the current function

.SH SYNOPSIS
mixed previous_object( int | void );

.SH DESCRIPTION
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 previous_object(), previous_object(1) is
the previous object's previous_object(), etc.  previous_object(-1) returns
an array containing all of the previous objects.

.SH SEE ALSO
call_other(3), call_out(3), origin(3)

Site Stats

Snippets: 1791
Codebases: 571