> x=1.0;WHILE x<4.0 DO > StartTest; > SetDuration[20000.0]; > x=x+1.0 > OD; > Stop If this is the whole syntax, you can do it easily with a short token filter in C. Email me if you want to go this way. --lhf