Yeah, timer() reads the internal CPU clock, returning a number that is rather large but constantly being incremented as the system operates. Thus if you wanted to test how long your loop your took to operate, you'd read timer() at the beginning into a variable, then read it again at the end, and subtract the two. ie;
do
time_start=timer()
(rest of code)
time_stop=timer()
run_time=time_stop-time_start
print"run time was=",run_time
loop
The other use is to slow down programs, be creating a small loop to wait X amount of time no matter how fast the loop ran, as in the difference between machines;
time1=timer()
do
(rest of code)
loop1:
time2=timer()
if time2 < time1+100 then goto loop1
time1=time2
loop
Which waits for 1/10 of a second for each pass through the code.
Good Luck!
S.
Any truly great code should be indisguishable from magic.