Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FREAD and files greater than 64K
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00116154
Message ID:
00116162
Views:
16
>I have written a routine to go through our legacy FPD 2.6 PRG's to replace certain syntax. However, I have problems with PRG's 64K or greater. Are VFP strings limited to 64K?
>
>cFileContents = FREAD(nFileHandle, nEOF)
>
>Thanks...
>
>Jack Mendenhall
Jack,

VFP strings are limited to 2GB, or the amount of memory available in the variable memory pool. The memory pool for vars is controlled byt he MVCOUNT setting in the Config.fpw file which by default is 1024. You may need to up this number to read the fiels you want to read.
Previous
Reply
Map
View

Click here to load this message in the networking platform