Edgar,
lcLine = fread( fh, 80 )
The string will be exactly 80 characters long and will include and CR/LF characters.
Use FWRITE() to write it out to the other file.
>I recieve a file form the Mainframe containing 80 characters per record.
>Some of those characters are CarriageReturn and/or LineFeed EOL.
>
>I can't read the 80 length record with EOL inline.
>
>After some operation, the 80 character line will be added to another file and must contain the exact characters original. FPUT puts garbage...
>
>How would you solve this delima?