[Newbies] remove allInstances?

Louis LaBrunda Lou at Keystone-Software.com
Fri Sep 23 13:03:40 UTC 2016


Hi Joseph,

Try:

Books allInstances do: [:b | b become: nil].

Lou

On Fri, 23 Sep 2016 00:40:33 -0500, Joseph Alotta <joseph.alotta at gmail.com> wrote:

>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.
-- 
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon



More information about the Beginners mailing list