Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limit of Fgets()
Message
From
18/08/2004 13:18:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
18/08/2004 13:13:57
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00934184
Message ID:
00934191
Views:
25
This message has been marked as the solution to the initial question of the thread.
>I am trying to read a long string from a .txt file using FGETS, and it is not returning the entire line. Is there a limit of characters that FGETS will return, and if so, is there a way I can get around that? TIA!
>
>MAC

Yes,
If you don't provide 2nd parameter (bytes to return) it returns 254 max. Limit is 8192.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform