PDA

Click to See Complete Forum and Search --> : Print # statement


Jimlin41
Jan 25th, 2000, 11:56 AM
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.

Mark Sreeves
Jan 25th, 2000, 05:10 PM
putting a ; will supress the new line.


Print #1, "Hello ";
Print #1, "World"


you could Put() the text to a file

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

Mark.Sreeves@Softlab.co.uk
A BMW Group Company

Jimlin41
Jan 26th, 2000, 04:28 AM
Thanks a lot. :)