Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9 FREAD/FWRITE Undocumented Limit
Message
From
29/06/2016 10:04:54
 
 
To
27/06/2016 08:37:18
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01637742
Message ID:
01637807
Views:
82
>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

try FILETOSTR() with a 200MB file ...
Previous
Reply
Map
View

Click here to load this message in the networking platform