Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!gatech!newsfeed.internetmci.com!howland.reston.ans.net!torn!nott!cunews!localhost
From: ug94038@omega.scs.carleton.ca (Pete)
Subject: Re: changing poolDictionaries by methods ???
X-Nntp-Posting-Host: alpha06.scs.carleton.ca
Message-ID: <DLuGwx.2pF@cunews.carleton.ca>
Sender: news@cunews.carleton.ca (News Administrator)
Organization: Some Organization
X-Newsreader: News Xpress Version 1.0 Beta #1
References: <DLGowA.3sC@cunews.carleton.ca> <4drdh3$6h8@news.ios.com>
Date: Sat, 27 Jan 1996 14:47:42 GMT
Lines: 35

vlad@gramercy.ios.com (vlad) wrote:
>ug94038@omega.scs.carleton.ca (Pete) wrote:
>
>>I would like if someone could tell me how to programatically change the definition of
>>poolDictionaries for a class. ..... (deleted stuff).......
>>I'm using VisualWorks 2.0 (and moving to 2.5, which is why I'm doing this.)
>

>If your poolDictionary contains only symbol or string or references to
>simple objects, you can store your dictionary in source code form.
>
>If your poolDictionary contains circular objects, then you must use
>BOSSWriter and BOSSReader.
>
>If your poolDictionary contains objects created by other objects and
>being supposed to be shared and unique, then you got a problem.
>
>I am sure that the vendor of your version has an easy sollution, since
>the Smalltalk is marketed as OO development system for producing
>REUSABLE software.
>
Your last point is what I'm trying to say: There must be a pre-built method to add a pool
Dictionary to a class that is used when I "accept" changes I've made by coding to the class
definition. BUT I can't find it.

So I may write one, but my understanding of pool dictionaries is shallow, I think I would need
some of the order:
	Smalltalk at: "poolDictionary for Class x" put:
						("another pool dictionary item" as symbol)

Is this the way a pool dictionary is connected to a class ?
The definition of a pool dictionary in VW2.0 does not say quite enough for me to KNOW what
to do. (and yes I've played with it but no success).

Thanks for your input.......Pete
