Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time STRTOFILE() ?
Message
 
 
À
11/08/2008 16:23:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01338165
Message ID:
01338169
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform