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

Gwenael Casaccio mrgwen at gmail.com
Tue Jan 20 09:30:43 EST 2009


On Tuesday 20 January 2009 15:24:49 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?

This is a cut and paste form the tests that's why  you see double-quotes :D

> 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





More information about the Pharo-dev mailing list