<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Georgia">Have you tried<br>
<br>
Workspace addLookupPool: MyPool<br>
<br>
?<br>
<br>
Although I wonder why one would go to the trouble. Why not just
put the code in a method that can reference the pool normally?<br>
<br>
Cheers,<br>
Bob<br>
<br>
</font>
<div class="moz-cite-prefix">On 3/5/13 1:56 PM, Louis LaBrunda
wrote:<br>
</div>
<blockquote cite="mid:dffcj8t3o9mcs9br89tidcgsvg8djqffbd@4ax.com"
type="cite">
<pre wrap="">Hi,
When I want to use values defined in a pool dictionary in VA Smalltalk, I
put the following lines at the top of the workspace (I often save
workspaces for repeat use):
"
EtWindow defaultEvaluationPools: (EtWindow defaultEvaluationPools asSet
addAll: #(#PoolDictionaryName)) asArray.
EtWindow defaultEvaluationPools: nil.
"
If I execute the first line (not counting the comment " line and not
wrapped) The named pool dictionary is available to the workspace. I can
test code as if the pool dictionary were specified for the class and I was
writing a method. This way when I'm happy with the code, I can just copy
it to a method and use it as is. The second line puts things back the way
it was.
I would love to be able to do this with Squeak. Does anyone have any idea
how to do this with Squeak? Or point me in the right direction?
Lou
-----------------------------------------------------------
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
<a class="moz-txt-link-freetext" href="mailto:Lou@Keystone-Software.com">mailto:Lou@Keystone-Software.com</a> <a class="moz-txt-link-freetext" href="http://www.Keystone-Software.com">http://www.Keystone-Software.com</a>
</pre>
</blockquote>
<br>
</body>
</html>