Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programatically reading/writing LARGE text files
Message
From
21/08/1999 15:19:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Programatically reading/writing LARGE text files
Miscellaneous
Thread ID:
00256287
Message ID:
00256287
Views:
60
I want to build a VFP program that will determine, and allow setting about 30 variables that will be used to add, delete, or modify lines in what is effectively an INI file. The problem is that this file can range up to about 50 or 60 MegaBytes in size. I read in the VFP help file on System Capacities that the Maximum # of characters per character string or memory variable is 16,777,184 … about 1/3 the size of my file.

I plan to read the file size, and use a straight forward approach (reading it into memory and manipulating it there) if it's small enough, but now I need an approach that will work with files I find that are larger than about 16 MB.
Next
Reply
Map
View

Click here to load this message in the networking platform