Well I know some of you are unhappy with the current timer function so here is one that is 6 more digits. It calls your cpu timer directly. Unlike the kernel ticker which which is in 1ms increments(supposed to be) and only gets updated whenever the OS feels like it, the cpu never stops ticking.
load dll "kernel32.dll",1
a as dword
b as dword
time as double float
d as dword
make memblock 1,8
for x=0 to 7
write memblock byte 1,x,0
next x
c=get memblock ptr(1)
a=call dll (1, "QueryPerformanceFrequency",c)
b=*c
do
time2=timer()
a=call dll (1, "QueryPerformanceCounter",c)
d=*c
wait 1000
a=call dll (1, "QueryPerformanceCounter",c)
a=*c
Time = ((a-d)*1000.000000)/b
time2=timer()-time2
set cursor 0,0
cls
Print time;" ";time2
loop