help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] problems with nil balance in gst tutorial


From: Jim White
Subject: Re: [Help-smalltalk] problems with nil balance in gst tutorial
Date: Tue, 2 Nov 2004 01:36:44 -0600

On Mon, 1 Nov 2004 17:13:11 -0800 (PST), Brian Wisti
<address@hidden> wrote:

> !Account methodsFor: 'instance creation'!
> 
> new
>     | r |
> 
>     r := super new.
>     r init.
>     ^r
> ! !
> 

Make this a class method.
Account class methodsFor: 'instance creation'!

That will fix your problem.




reply via email to

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