Pref::maxTime
-- time limit for
calculationPref::maxTime(
seconds)
sets a time limit
for calculations in seconds.
Pref::maxTime( <seconds>)
seconds |
- | integer in seconds, or NIL |
the previously defined memory
0
effects no limitation.Pref::maxTime
without arguments returns the
current value. The argument NIL
resets the default value,
which is 0
.No computation can take more than ten seconds.
>> Pref::maxTime(10): TIME:= time(): while time() - TIME < 11111 do null() end_while
Error: Watchdog reset [watchdog-time]