[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] CGI enabled STT
From: |
Bonzini |
Subject: |
Re: [Help-smalltalk] CGI enabled STT |
Date: |
Sun, 5 Jan 2003 16:35:06 +0100 |
It is of no use to have #asString do the work on a separate stream; change
it to #printOn: tstream, then you have
process: aMessage
....
self printOn: stream
!
asString
^self printString
!
printOn: tstream
tstream nextPut: $<; nextPutAll: tag.
....
tstream nextPutAll: ' />' ].
! !
Looks nicer :-)
|_ _ _ __
|_)(_)| ),'
------- '---