>Does processing suspend while STRTOFILE() runs? I'd like to time how long it takes to write a file to a specific location so I am trying:
>
>lnStart = SECONDS()
>llSuccess = STRTOFILE(cxml,tcFullXMLFile)
>lnEnd = SECONDS()
>lnDuration = lnEnd-lnStart
>
>But lnDuration is always 0...
Tracy,
May be it's too quick. One command could not give you a good statistics. Try using datetime() instead and also set decimals to something bigger than 2.
May be you need to do this in a loop to get the real test of duration.
If it's not broken, fix it until it is.
My Blog