ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示
/doc/efuns/previous_object
pppprrrreeeevvvviiiioooouuuussss____oooobbbbjjjjeeeecccctttt((((3333)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) pppprrrreeeevvvviiiioooouuuussss____oooobbbbjjjjeeeecccctttt((((3333))))
NNNNAAAAMMMMEEEE
previous_object() - returns the object(s) that called the
current function
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
mixed previous_object( int | void );
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
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.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
call_other(3), call_out(3), origin(3)
Page 1 (printed 3/16/95)