On Mon, Sep 19, 2016 at 6:12 PM, frankl1_miky
> I'll like to know what is happening exactly in background when I'm using a
> symbol as in *Collection withAllSubclasses collect: #numberOfLinesOfCode*.
Nicolas has a good answer.
Now you could explore this yourself. First, as a reference inspect
"Collection withAllSubclasses" on its own.
Then try debugging into the expression (from the context menu in the
In particular in OrderedCollection>>collect: step-INTO "aBlock
For an even lower level (probably too low), try debugging into...
OpalCompiler compile: 'Collection withAllSubclasses collect:
or more simply debug...
OpalCompiler compile: '#numberOfLinesOfCode inspect'.
Other things you could explore
* Look at the class comment for class Symbol
* Look at the tests of class SymbolTest
* In the Browser with class Symbol selected, right-click and choose
> I also want to know the other cases where I can use symbol.
> Is there any tutorial about using symbol?
> View this message in context:
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.