Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FGETS() AND FREAD()
Message
From
24/09/1998 14:14:00
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00140397
Message ID:
00140503
Views:
31
My error I never have to go past 254.

Charles

>Chuck,
>
>254 is only the default max length returned, not the max possible length. Try this for example:
>
>fh = fopen( "c:\windows\system\vfp500.dll" )
>? fh
>x = fread( fh, 4000000 )
>? len(x)
>
>
>>The 254 lenght is the max that the low level functions will return.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Reply
Map
View

Click here to load this message in the networking platform