.\"set the maximum evaluation cost .DT set_eval_limit $MUDNAME$ driver help set_eval_limit .SH Name .SI 5 set_eval_limit() - set the maximum evaluation cost .EI .SH Synopsis .SI 5 void set_eval_limit( int limit ); .EI .SH Description .SP 5 5 set_eval_limit(), with a non-zero argument `limit', sets the maximum evaluation cost that is allowed for any one thread before a runtime error occurs to `limit'. 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. .EP See also .SI 5 eval_cost(), reset_eval_cost() .EI