>VFP 6 now is limited to using files of 16MB and a maximum line length of 8192 bytes using the internal LLF functions; you might consider using the new FILETOSTR() and ALINES() functions rather than the LLF I/O commands. If you have text files with single lines in excess of 8K/line, this may provide a workaround; alternatively, you can use the Scripting.FileSystemObject to handle reading the text file line-by-line; it uses a different set of internal functions and may not run into the problem. OTOH, if you are getting CR/LF delimited text lines that long, I suspect that you have other problems related to parsing the input which are considerably more of a headache...
Thanks for the info. Filetostr doesn't have any limits? Anyway, in my case the 8K bound will do, since lines are never longer than 6400 bytes. And structered in groups of 64 bytes, so parsing is no great deal either.
Auke
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement