Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9 FREAD/FWRITE Undocumented Limit
Message
From
27/06/2016 08:37:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP 9 FREAD/FWRITE Undocumented Limit
Miscellaneous
Thread ID:
01637742
Message ID:
01637742
Views:
137
While doing a low-level routine for copying data between files for showing advance, I've descovered something interesting:

Documentation says that FREAD support 65536 bytes (64 KiB) max.length, but the limit in VFP 9 is really 16777184 bytes (16 MiB), iow, 256 more times!

And another interesting thing is that this limit is the same of the max.size of a string variable:

Maximum # of characters per character string or memory variable. 16,777,184




A "little" detail that the FoxTeam forgot to document.

This should be added to VFPx FoxHelp File.

Best Regards!


Fernando D. Bozzo
Fernando D. Bozzo
Madrid / Spain
Next
Reply
Map
View

Click here to load this message in the networking platform