Hello Bert,
BF> Or you can add them to the workspace itself. A workspace provides
BF> variable bindings, but only for temporary (lowercase) variables (*).
BF> To add your class variable bindings, get the halo on a workspace,
BF> select "inspect model" from the grey debug handle menu. You get an
BF> inspector for the workspace. In the lower text pane, execute this:
BF> bindings := Dictionary new.
BF> BlaConstants classPool keysAndValuesDo: [:k :v | bindings at: 'c',k
BF> put: v]
BF> Then you can use "cConst1" in the workspace :)
enlightening lesson, as always.
Do you by any chance plan to hold a course on Squeak?
Cheers,
Herbert mailto:herbertkoenig@xxxxxxx
|