Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!cs3p+ From: cs3p+@andrew.cmu.edu (Chris J. Stluka) Newsgroups: comp.lang.smalltalk Subject: Re: Question on Ordered Collections Message-ID: <4ZnmwJe00Xol03aV1s@andrew.cmu.edu> Date: 6 Feb 90 20:09:57 GMT References: <1045@prlhp1.prl.philips.co.uk> Distribution: comp.lang.smalltalk Organization: Class of '90, Carnegie Mellon, Pittsburgh, PA Lines: 17 In-Reply-To: <1045@prlhp1.prl.philips.co.uk> Hi, In Smalltalk V/Mac, you could do this: (Fred := OrderedCollection new) add: 'anItem'; add: 'anOtherItem'; add: 'finalItem'. Try something like that. In this, Fred is assigned to be an OrderedCollection, and the result of the assignment statement is the OrderedCollection. Chris Stluka.