>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only