Thread cutting script - WIP

 From:  Michael Gibson
5451.9 In reply to 5451.7 
Hi Martin,

> but is there some sort of time function in the MoI JavaScript language?

Check out some of the answers here:
http://stackoverflow.com/questions/1210701/compute-elapsed-time-in-javascript

Basically you can do something like:


var start = new Date();


...... do stuff ......


var end = new Date();

var diff = end - start;


I think the difference will be a value in milliseconds.

- Michael