Problem with OrderedCollection
tim Rowledge
tim at rowledge.org
Wed Feb 6 00:26:01 UTC 2008
On 5-Feb-08, at 4:19 PM, Miguel Enrique Cobá Martínez wrote:
>
>
> "But printing or inspecting this gives a ByteArray"
> t := OrderedCollection new
> add: ('text', 1 printString).
> t class.
#add: returns the thing you added, not the thing you added to. So in
this case, the string.
tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Eagles may soar, but weasels aren't sucked into jet engines.
More information about the Squeak-dev
mailing list
|