Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time STRTOFILE() ?
Message
 
 
To
11/08/2008 16:23:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01338165
Message ID:
01338169
Views:
19
This message has been marked as the solution to the initial question of the thread.
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform