Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Character line more than 254!
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00102865
Message ID:
00103618
Views:
26
>>HI,
>>
>>I've received a file the has variable character line lenght.
>>Formated to specific input from the source client application that cannot be modified(Not the same company).
>>
>>Information can be read as follow on one line:
>>
>>FieldsName Lenght
>>AdType 1
>>AdInfo 25
>>AdDescr 150
>>etc
>>etc
>>
>>
>>The line can easyly exceed 254 characters?
>>
>>Problem
>>I cannot access information exceeding 254.
>>
>>I there a way i can access?
>>
>>I tried setting the memowidth to 1024, but no use.
>>
>>Any help from any one will be greatly appreciated.
>>Thanks
>>Bye
>
>
>You don't specify the way you get the line,
>but i assume you use FGETS().
>
>If it's really the case, you can add a number as second parameters to
>read lines wider than 254 chars.
>
>lcLine=FGETS(FileHandle,nBytes)
>
>;0)

Gérald Santerre,

I use FGETS() to retrieve the line.
How can i get one line at a time?
If i use nBytes it might be one or two line that it gives me.

Nick,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform