This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
J
Jimbo
Post
by Jimbo » Wed May 15, 2002 2:23 pm
I know that [open <file> a] opens it so that when you write to it, the inputted text is put onto a new line. Is there any way to write to a text file so that it continues on the same line?
M
Mordred
Post
by Mordred » Wed May 15, 2002 11:11 pm
This is from the TCL Reference manual regarding the PUTS command.
Puts normally outputs a newline character after string, but this feature may be suppressed by specifying the -nonewline switch.
http://tmml.sourceforge.net/doc/tcl/puts.html
J
Jimbo
Post
by Jimbo » Thu May 16, 2002 6:24 am
Thanx, but where do i put this -nonewline into the code?
M
Mordred
Post
by Mordred » Thu May 16, 2002 6:31 am
puts ?-nonewline? ?channelId? string
it's all in the manual.
J
Jimbo
Post
by Jimbo » Thu May 16, 2002 6:33 am
LOL, sorry...didnt see it!!!
Thanx alot