call_stack
skylib_fluffos_v3/mudlib/doc/driver/efuns/calls/call_stack · 682 B
From the archive skylib_fluffos_v3.zip
Download the archive « Back to the archive contents
.DT call_stack $MUDNAME$ driver help call_stack .SH Name .SI 5 call_stack() - returns information about the functions involved in calling this function .EI .SH Synopsis .SI 5 mixed *call_stack( int flag ); .EI .SH Description .SP 5 5 If the `flag' argument is 0, call_stack() returns an array of the names of the on the call stack, with the first one being the most recent (i.e. the currently running program). If the `flag' argument is 1, call_stack returns the objects in which that program is executing. If it is 2, the name of the functions are returned. If it is 3, the value of origin() in that frame is returned. .EP .SH See also .SI 5 previous_object(), origin() .EI