Hello Rob,

 scalars can't be deleted actually without the GUI, but there are several 
tricks for doing something like it.

One is about using float indexes instead of using pointer order, and then set 
to -1 or another value that doesn't count
the scalars that have to be removed, and finally use a temporary structure for 
cleaning.
Another one is about using one scalar and an array for including your 
structure, so you can delete values inside element.
It's also possible to save, modify, and reload the structure with using a text 
file.

Just in case you are interested about using tcltk instead of datastructure for 
drawing your GUI (it still uses DS for sequencing)

I've shared a work in progress:

http://megalego.free.fr/pd/patko/proll/

Colet Patrice

----- Mail original -----
> De: "Rob Bothof" <rbot...@xs4all.nl>
> À: pd-list@iem.at
> Envoyé: Vendredi 11 Octobre 2013 14:01:52
> Objet: [PD] datastructures midirecorder
> 
> dear list,
> 
> i've been working with pd for a couple of years and finally diving
> into
> data-structures/scalars
> to build a midi recorder / looper.
> 
> is there a way to delete a scalar, without selecting it with the
> mouse ?
> or does one generally
> specify an active state parameter for each scalar.
> 
> greets,
> Rob
> 
> _______________________________________________
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
> 

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to