Couldn't really make this work, but iemguts did it.

On Wed, Oct 17, 2012 at 5:24 PM, Jamie Bullock <jamie@jamiebullock.com> wrote:

On 8 Oct 2012, at 18:30, adrcki@gmail.com wrote:

> I know the command for creating an object, but I didn't know there's a command to destroy one. Which one is it?
>

One option is to add some kind of UID to your object creation arguments, and then use "find" + "cut" messages to delete them.

For example instantiate your objects:

[MyObject unique-identifier extra arguments]


You can delete them like this:

|find +unique-identifier 1, cut(
|
[s pd-some-canvas]


Of course, this solution only works if the thing you are trying to delete is an abstraction you've authored.

best,

Jamie

--
http://jamiebullock.com