[PD] Data structures - delete specific scalar?
Roman Haefeli
reduzent at gmail.com
Mon May 21 19:55:04 CEST 2018
On Sun, 2018-05-20 at 15:31 +0200, Christof Ressi wrote:
> this has been on my wish list for a while and I want to do a PR. do
> you guys have suggestions which kind of interface you would prefer?
> these come to my mind:
> * [delete] object: send it a pointer and it will delete the scalar
I thought this one to be the most natural, since there is also an
[append] object.
> * [delete <p>( message for canvases
There are no other uses where a method uses a pointer as argument, are
there?
> * [delete( message for [pointer]: deletes the scalar of the currently
> stored pointer.
Sounds good, too, and seems what has the most thumb-ups yet.
> I tend towards the last option, since [pointer] is already used to
> traverse a subpatch, so [delete( could go well with [traverse(,
> [bang( and [next(. the canvas messages would also makes sense to me.
> having a dedicated object seems rather overkill.
You're probably right.
Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180521/e23c8cf6/attachment.sig>
More information about the Pd-list
mailing list