Previous Page Next Page Contents

Pref::maxTime -- time limit for calculation

Introduction

Pref::maxTime(seconds) sets a time limit for calculations in seconds.

Call(s)

Pref::maxTime( <seconds>)

Parameters

seconds - integer in seconds, or NIL

Returns

the previously defined memory

Related Functions

Pref::maxMem, time

Details

Example 1

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]

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000