[PD] change variables in struct?
Miller Puckette
mpuckette at cloud.ucsd.edu
Thu May 11 07:19:51 CEST 2023
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 at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!EBJnzugYe70vhyPI6OOmwy1aGFgX5CuAUwshaSfYNUt20LReBvIczt0I2ANmyFp04zwnWUBZ8_q9f0Wc$
More information about the Pd-list
mailing list