In the the collection's inspector (left), in the bottom pane (playground) evaluate :
self removeAt: 4. "Replace 4 with the index of element you want to remove"

I suggest you work more in a playground you open from the "Browse" menu.
Here is an example of what you can do:

someEvent := "Code to get the event to delete".
myEvents := OrderedCollection withAll: {"Your events here"}.
myEvents remove: someEvent

Noury
--
https://PharoJS.org
On Jan 12 2024, at 11:15 pm, sergio ruiz <sergio.rrd@gmail.com> wrote:

I am trying to remove some objects from an OrderedCollection in the inspector.

I have class called Event. This has a class variable called Events which is a storage are for and ordered collection of Events.

So, i inspected ���Event Events��� and I see my ordered collection.

In the inspector, I select on of the objects, and I try to evaluate ���Event Events remove: self���.. But I am getting an error: an Event not found in OrderedCollection.

Does anyone have any ideas on how i���d do this?

Thanks!

----
peace,
sergio
photographer, journalist, visionary

Public Key: https://pgp.key-server.io/pks/lookup?op=get&search=0x69B08F58923AB3A2
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
@sergio_101@mastodon.social
https://sergio101.com
http://www.codeandmusic.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101