how to get arg and print on the output
stéphane ducasse
ducasse at iam.unibe.ch
Mon Aug 21 16:25:49 UTC 2006
Yeap I like the one of pepsi (in fact I really like the { } for C),
this is really excellent.
but for Smalltalk I prefer that one that is closer to Smalltalk one.
> KernelPackage
> import: Point.
or
Point from: KernelPackage
>
> Package declare: 'ColoredPointPackage'.
>
> Point < ColoredPpoint
> variables: 'x y' ;
> classvar: 'Foo'
>
> ColoredPoint>>foo: zork
> [ <category: 'foobar'>
>
>> <author: 'sd' date: '24/06/2006'>
>>
> ljkljl
> ^ self
> ]
>
ColoredPoint class>> new
[ ^ self basicNew ]
More information about the Squeak-dev
mailing list
|