help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] What's wrong with this script??


From: Mehul Sanghvi
Subject: Re: [Help-smalltalk] What's wrong with this script??
Date: Thu, 25 Feb 2010 14:03:08 -0500

Being new to Smalltalk, and learning it on and off when I get time
here and there,
what is "new" syntax if the "old" syntax is the "!" ?

On Thu, Feb 25, 2010 at 13:12, Paolo Bonzini <address@hidden> wrote:
> On 02/25/2010 06:35 PM, Rick Flower wrote:
>>
>>        new [ ^super new initialize ] !
>
> No brackets when using old (bang) syntax, so this returns self.
>
> Paolo
>
>
> _______________________________________________
> help-smalltalk mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-smalltalk
>



-- 
Mehul N. Sanghvi
email: address@hidden
Joan Crawford  - "I, Joan Crawford, I believe in the dollar.
Everything I earn, I spend." -
http://www.brainyquote.com/quotes/authors/j/joan_crawford.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]