>I have a textfile with 31,000 lines.
>
>A few hundred of the lines are very long, some as much as 500
>characters.
>
>I'd like to import each line of this file into memo fields.
>
>When I use a low-level file, any string over 254 characters in
>length is truncated.
>
>Any ideas?
You need to specify a larger line length in order to read that file. The FGETS() function defaults to 254 characters unless you specify a larger number and the maximum is 8192.
cLine = FGETS(nHandle,8192)