Hi,
Tobias is right. I'm use to the VA Smalltalk one way #become: and forgot about
Squeaks two way
#become:, sorry about that.
Lou
On Fri, 23 Sep 2016 19:47:31 +0200, Tobias Pape wrote:
>Hi,
>
>On 23.09.2016, at 15:03, Louis LaBrunda wrote:
>
Hi,
On 23.09.2016, at 15:03, Louis LaBrunda wrote:
> Hi Joseph,
>
> Try:
>
> Books allInstances do: [:b | b become: nil].
I would advise against that. Become is a sledgehammer and you're about to crush
ants with it.
What happens with 'a become: b' ? All
Hi Joseph,
Try:
Books allInstances do: [:b | b become: nil].
Lou
On Fri, 23 Sep 2016 00:40:33 -0500, Joseph Alotta
wrote:
>Greetings,
>
>The main program I am working on now is called Books.
>
>If I evaluate
>
>Books allInstances => anOrderedCollection( aBook aBook
Joseph: I agree with Rudolf. See also
http://forum.world.st/Deleting-an-instance-td3328590.html
Have fun! David
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
--
Gesendet: Freitag, 23. September 2016 um 07:40 Uhr
Von: "Joseph Alotta" <joseph.alo...@gmail.com>
An: beginners@lists.squeakfoundation.org
Betreff: [Newbies] remove allInstances?
Greetings,
The main program I am working on now is called Books.
If I evaluate
Bo
Greetings,
The main program I am working on now is called Books.
If I evaluate
Books allInstances => anOrderedCollection( aBook aBook aBook )
How do I set them all equal to nil like
Books removeAllInstances.
Books allInstances => anOrderedCollection().
Sincerely,
Joseph.