Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to FGET or FPUT more thank 254 chars?
Message
From
01/10/1999 14:52:19
 
 
To
01/10/1999 14:07:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00271674
Message ID:
00271704
Views:
16
>Try FGets(InputFile, nBytes), where nBytes is the maximum length of a line.

Maximum of 8192 bytes, at least for VFP6 SP3, that is.

>
>HTH
>Reading a "lowlevel" file from a unix server. It needs to be opened and looped through the EORs until it gets to the useable data:
>>When i ..
>>mybuff=fgets(InputFile)
>>fputs(OutPutFIle,myBuffs)
>>
>>EORs are being inserted at the 254 character position. Eventually the data will be appended delimited to a DBF.
>>
>>Thought about STRTOFILE and FILETOSTR, but have not figured as to how (with the need to clear all the chaff before I get to the money data)!
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform