asDictionary

Niko Schwarz niko.schwarz at gmx.net
Mon Jan 6 16:24:54 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 6. Januar 2003 17:17 schrieb Niko Schwarz:

> Actually ^ d _ Dictionary new. each: [ :each | d add: each ] should do i.

Hmm, I meant of course 
asDictionary
	| d |
	d _ Dictionary new.
	self
		do: [:each | d add: each].
	^ d

regards,

nick
- -- 
It's not that I'm afraid to die.  I just don't want to be there when it
happens.
		-- Woody Allen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Ga3W3P3nmXTVnC8RAjroAKDE8u+/jDzy4lq4ZxDfxRSLlFfD6wCgocUT
4b1ujcuh5clCHvnvBgrx0Nk=
=bg7E
-----END PGP SIGNATURE-----




More information about the Squeak-dev mailing list