[Q] PluggableListMorph list question

Lic. Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Thu Aug 21 14:19:39 UTC 2003


If I get one instance or PluggableListMorph by doing:

l _ PluggableListMorph new openInWorld.
l list: #('uno' 'dos' 'tres') in a Workspace.

What is a correct form for add a new item ?

If I have ;

List
^ list 

I could do then:

newList _ l list asOrderedCollection.
newList add: 'cuatro'.

l list: newList.

But I don't have list implemented in PluggableListMorph .( Why not ? )

Thanks in advance.

edgar



More information about the Squeak-dev mailing list