[FIX] Re: Dictionary initialization syntax

Mark Greenaway mark at knobbits.org
Thu Dec 7 23:04:16 UTC 2000


On Fri, Dec 08, 2000 at 10:10:58AM +1300, Richard A. O'Keefe wrote:
> "Andrew P. Black" <apb at cse.ogi.edu> wrote:
> 	Well, Dictionary Class >> newFrom: aDictOrArray contains a couple of 
> 	examples of ways to do, this, namely
> 	
> 		Dictionary newFrom: {1->#a. 2->#b. 3->#c}
> 		{1->#a. 2->#b. 3->#c} as: Dictionary
> 	
> 	But the comments and argument name in that method were such that you 
> 	were unlikely to find it.
> I think that's a little unfair.
> If you want to know how to make a Dictionary,
> the obvious thing to do is to point the browser at that class,
> and look at class methods for instance creation.
> There is only one.

Uh, good point :) I'll look a bit harder next time.

Thanks,
Mark





More information about the Squeak-dev mailing list