ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示
/doc/efuns/apply
aaaappppppppllllyyyy((((3333)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) aaaappppppppllllyyyy((((3333))))
NNNNAAAAMMMMEEEE
apply() - evaluate a function pointer
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
mixed apply(mixed f, mixed *args)
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
If f is a function, f is called with the array 'args'
expanded as it's arguments. For example,
apply(f, ({ 1, 2, 3 }) ) is the same as evaluate(f, 1, 2,
3);
Page 1 (printed 3/16/95)