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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top