Why not just put the carriage return before the names then.
\nphil
\nbob
*** REPLY SEPARATOR ***
On 28/12/2002 at 3:39 PM Phil Powell wrote:
>I checked, and I am adding just "bob". Turns out to be a wacky logic
>problem.
>
>nicknames.txt contains this:
>
>phil\n
>bob\n
>
>Whe
I checked, and I am adding just "bob". Turns out to be a wacky logic
problem.
nicknames.txt contains this:
phil\n
bob\n
When "bob" leaves the chatroom nicknames.txt becomes:
phil\n
BUT.. apparently that's not it either; the carriage return is also somehow
stripped out. So instead it's this:
Hi Phil:
It probably does what you are asking it to do. Have you checked the
value of $nickname to see if you are setting it to "bob" or appending
"bob" to it?
i.e first time $nickname = "phil"
second time $nickname = "philbob"
HTH
David
On Saturday, December 28, 2002, at 02:24 PM, Phil Powell
3 matches
Mail list logo