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 <[email protected]> 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
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk
>



-- 
Mehul N. Sanghvi
email: [email protected]
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


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to