What about inspecting/printing the following expression?

     Processor class classPool

On Mon, Apr 27, 2009 at 6:29 PM, Stéphane Ducasse
<stephane.duca...@inria.fr> wrote:
> Hi guys
>
> I want to print the name of a classVar and its value.
> So I tried something like
>
> Processor class classVarNames
>        do: [:each | Transcript show: each ; show: each value ; cr]
>
>
> the solution....
>
> Processor class classVarNames
>        do: [:each | Transcript
>                                show: each ;
>                                show: (Compiler evaluate: each for: Processor 
> logged: false)
> printString ;
>                                cr]
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to