Results 1 to 3 of 3

Thread: Print # statement

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 1999
    Posts
    56

    Post

    Why does the Print # statement in Output mode add an extra carriage return at the end? Is there a better way to write to text files? I'm not using a rich text box so I can't use the savefile method. Thanks in advance.

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845

    Post

    putting a ; will supress the new line.

    Code:
    Print #1, "Hello ";   
    Print #1, "World"
    you could Put() the text to a file

    ------------------
    Mark Sreeves
    Analyst Programmer

    [email protected]
    A BMW Group Company

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 1999
    Posts
    56

    Post

    Thanks a lot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width