Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In VFUG Tips & Tricks: FGetS tip -- unnecessary??
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00005529
Message ID:
00005807
Views:
34
>Before posting my original message, I did a test with a text file that contained one line, 565 bytes in length. The FGets function read the entire line. I am using VFP 3.0b.
>
>One problem to which I can attest with legacy Foxpro (and VFP as well) is that there are some some string display and string manipulation operations that truncate any long line at the 254-character memowidth limit. For example, if you try to display a line with the "?" or "??" operators, and if the line is more than 254 characters in length, Foxpro will force CR-LF sequences in its output at whatever you have MemoWidth set at (but never greater than 254). This is one bit of backwards compatibility that they should have dropped years ago.

You're not the only one who has told me that. But, I have talked to other people who have had the same problem. Switching the function calls to that DLL saved me, so....

To be honest, I have not done extensive testing, maybe it had something to do with my particular environment or a bug with 3.0, I dunno.

Thanks,
Scot.
Previous
Reply
Map
View

Click here to load this message in the networking platform