[Pharo-project] [Pharo-Project] Pharo scripting

Gwenael Casaccio mrgwen at gmail.com
Tue Jan 20 09:33:35 EST 2009


On Tuesday 20 January 2009 15:31:12 Stéphane Ducasse wrote:
> You do not need that.
> I imagine that the example was in the Smalltalk string as a test for
> the parser.
>

:D

> Stef
>
> On Jan 20, 2009, at 3:24 PM, Cameron Sanders wrote:
> > Gwenael writes:
> >> here is a small example of the syntax :
> >
> > 	[
> > 	Object subclass: #SaBox
> > 		instanceVariableNames: ''bob''
> > 		classVariableNames: ''''
> > 		poolDictionaries: ''''
> > 		category: ''SandBox''
> > 	]
> >
> > 	SaBox >> initialize
> > 	[
> > 		<category: ''initialize release''>
> > 		<authorInitials: ''him''>
> > 		bob := ''Script test working''.
> > 	]
> >
> > Why the doubled single-quotes?
> > Why use a different notation at all?
> >
> > Thanks -- and sorry if this was already explained,
> > Cam
> >
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project at lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project





More information about the Pharo-dev mailing list