| 
 | 
A function that can be used in Formulas.
clock ( )
   t = clock()
   for i to 1000
   endfor
   appendInfoLine: "Time elapsed: ", clock() - t, " seconds"
=>   Time elapsed: 0.00018437499966239557 seconds
   t = clock()
   for i to 1000
   endfor
   timeElapsed = clock() - t
   appendInfoLine: "Time elapsed: ", fixed$ (1000 * timeElapsed, 3), " ms"
=>   Time elapsed: 0.180 ms
© Paul Boersma 2025