ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示
/doc/efuns/set_eval_limit
sssseeeetttt____eeeevvvvaaaallll____lllliiiimmmmiiiitttt((((3333)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) sssseeeetttt____eeeevvvvaaaallll____lllliiiimmmmiiiitttt((((3333))))
NNNNAAAAMMMMEEEE
set_eval_limit() - set the maximum evaluation cost
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
void set_eval_limit( int );
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
set_eval_limit(), with a nonzero argument, sets the maximum
evaluation cost that is allowed for any one thread before a
runtime error occurs. With a zero argument, it sets the
current evaluation counter to zero, and the maximum cost is
returned. set_eval_limit(-1) returns the remaining
evaluation cost.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
catch(3), error(3), throw(3), error_handler(4), eval_cost(3)
Page 1 (printed 3/16/95)