Hi Houston,
You were so right, but I still get 12 seconds for Visual C++ and 8.472 seconds for VFP.
Do you have any thoughts on this?
Thank you,
Ali
>>Here is VFP 6 Source code:
>>
>pp = val(strtran(time(), ":", ""))
>>use C:\Projects\Lagger-3d\Desurvey\Desurvey
>>
>>Replace all Elev With 23.99
>>pp2 = val(strtran(time(), ":", ""))
>>? pp2 - pp
>
>This is pretty much what I suspected : you have not closed the table after the Replace i.e. your VFP time is erroneous. Try the following instead:
nStart = Seconds()
>use C:\Projects\Lagger-3d\Desurvey\Desurvey
>Replace all Elev With 23.99
>Use In Desurvey
>? Seconds() - nStart