Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
In VFUG Tips & Tricks: FGetS tip -- unnecessary??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00005529
Message ID:
00005807
Vues:
29
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform