set_eval_limit(3) LPC Library Functions set_eval_limit(3)
NAME
set_eval_limit() - set the maximum evaluation cost
SYNOPSIS
void set_eval_limit( int );
DESCRIPTION
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 evalua-
tion cost.
SEE ALSO
catch(3), error(3), throw(3), error_handler(4), eval_cost(3)
MudOS Last change: 5 Sep 1994 1