Print #1

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi.

I am creating text files for submitting to the companies computer system,
using the Open....Print #1....Close..... method.

When writing the 'footer or trailer' record at the end of the file, it is
specified that the record should be terminated with a carriage return.

Does the Print #1 statement automatically put the carriage return char. at
the end or do I have to include it? e.g. Print #1,"EOF" & chr(13)

Cheers,
Steve.
 
FBxiii said:
I am creating text files for submitting to the companies computer system,
using the Open....Print #1....Close..... method.

When writing the 'footer or trailer' record at the end of the file, it is
specified that the record should be terminated with a carriage return.

Does the Print #1 statement automatically put the carriage return char. at
the end or do I have to include it? e.g. Print #1,"EOF" & chr(13)


Print automatically adds the line terminating CrLf unless
you end the statement with a semicolon.
 
Back
Top