|
Re: Re: Alternative for static const...: msg#00133lang.smalltalk.squeak.beginners
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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Alternative for static const..., Bert Freudenberg |
|---|---|
| Next by Date: | Re: Re: Alternative for static const..., Bert Freudenberg |
| Previous by Thread: | Re: Alternative for static const..., Bert Freudenberg |
| Next by Thread: | Re: Re: Alternative for static const..., Bert Freudenberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |