Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text File Buffering problem
Message
From
14/11/2017 05:10:36
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
13/11/2017 23:49:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01655554
Message ID:
01655582
Views:
64
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform