
set_eval_limit(3)     LPC 系統函數     set_eval_limit(3)

名稱
     set_eval_limit() - set the maximum evaluation cost

語法
     void set_eval_limit( int );

描述
     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.

請參考
     catch(3), error(3), throw(3), error_handler(4), eval_cost(3)

MudOS                Last change: 5 Sep 1994                    1

