>>Interesting. Timer because it has a small RAM footprint. CTOBIN instead of BUF2NUM is faster. Why do this?
>>
>>
PRIVATE lcCurrentBuffer
>>STORE " " to lcCurrentBuffer
>>
>A literal string reduce the overhead.
PRIVATE lcCurrentBuffer reduces the overhead? It takes time to execute the line.
BTW, this will crash if ADLLS returns 0
ADLLS(laDlls)
IF EMPTY(ASCAN(laDLLs,"QueryPerformanceCounter",1,-1,2,15))
This is better?
LOCAL m.lnDLLs
m.lnDlls = ADLLS(laDlls)
IF m.lnDLLs = 0 ;
OR ASCAN(laDLLs,"QueryPerformanceFrequency",1,-1,2,15) = 0