Litteral arrays parsing
nicolas cellier
ncellier at ifrance.com
Wed May 24 00:41:19 UTC 2006
Le Mercredi 24 Mai 2006 01:56, Noury Bouraqadi a écrit :
> > Maybe a second # in Dolphin Smalltalk extension...
>
> What is this?
>
> I read somewhere in the Squeak Scanner code that ##() may be given the
> Ansi Smalltalk semantics without further explanation. Any hint?
AFAIR, in Dolphin, it means that the literal can be any valid Smalltalk
expession.
It is evaluated once at compile time (when you accept in the browser, or load
from file).
for example ##(1 at 2)
##(Dictionary with: $a -> 0)
Nicolas
More information about the Squeak-dev
mailing list
|