Re: [PD] change variables in struct?

2023-05-10 Thread Miller Puckette
I believe that if you change the name of a variable in a "struct" object 
it will keep all the existing data fields under the new names, even 
reordering the fields as appropriate.  OTOH I haven't tested this 
recently, so try it and report back if it fails somehow :)


cheers

Miller

On 5/11/23 03:00, Forrest Curo wrote:
If I want to use a working example struct (from the datastructures 
help patches) I can readily change the values of the variables it uses.


What about changing the names of those variables to something more 
meaningful for their use in a new structure? Will I need to construct 
the dreadful patch from scratch?


Forrest Curo
San Diego

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!EBJnzugYe70vhyPI6OOmwy1aGFgX5CuAUwshaSfYNUt20LReBvIczt0I2ANmyFp04zwnWUBZ8_q9f0Wc$




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


[PD] change variables in struct?

2023-05-10 Thread Forrest Curo
If I want to use a working example struct (from the datastructures help
patches) I can readily change the values of the variables it uses.

What about changing the names of those variables to something more
meaningful for their use in a new structure? Will I need to construct the
dreadful patch from scratch?

Forrest Curo
San Diego
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list