Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text File Buffering problem
Message
De
14/11/2017 05:10:36
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
13/11/2017 23:49:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01655554
Message ID:
01655582
Vues:
62
>From time to time I do something similar - writing to log files with FILETOSTR() / STRTOFILE(), writing separate log entries in rapid succession. I have never seen any of those operations fail, and I've never had to check the return value of STRTOFILE(). The log files have ranged in size up to about 150KB.

I've found that size doesn't matter if you append to the file. This is from my logger class:

STRTOFILE(c+0h0d0a, THIS.cFile, 1)

The third parameter is the kicker.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform