[PD] Data structures: no object for freeing pointers?

João Pais jmmmpais at googlemail.com
Thu Jun 20 11:09:26 CEST 2013


One approach is to assign a variable for active/unactive scalars. And then  
use that variable to render the scalar visible/invisible. After a work  
session, the user can hide the active scalars, display the inactive ones,  
and select + delete these. It's still far from ideal, but a compromise.

>
>> Envoyé: Mardi 11 Juin 2013 11:25:23
>> Objet: Re: [PD] Data structures: no object for freeing pointers?
>>
>> On Die, 2013-06-11 at 11:00 +0200, Jan Baumgart wrote:
>> > I've been building a sequencer with data structs. But now I've come
>> > to a
>> > dead end, because there seems to be no object, that let's you
>> > remove
>> > structs.
>> > The only way seems to be deleting them in the gui.
>>
>
> It's still possible to put only one pointer and then arrays on it, then  
> you can add or delete at the last array item, or it's possible to put an  
> id at each array element and then remove the element id to delete, then  
> it's possible to have undo's.
>
> pc
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->  
> http://lists.puredata.info/listinfo/pd-list



More information about the Pd-list mailing list