Adding a newline to an Array

Danie Roux droux at tuks.co.za
Sun Nov 16 17:14:21 UTC 2003


Hi,

Bit green to Smalltalk and having trouble with putting a newline
character in an array:

#($a $b $c) "would give me an array with the three characters a, b and c
in it."

lf := Character lf. " Would give me the lf character "

Now how do I put lf in an array?

#($a $b #lf) " Doesn't seem to work?" 

-- 
Danie Roux *shuffle* Adore Unix





More information about the Squeak-dev mailing list