[PD] Dynamic creation and destruction of arrays

marius schebella marius.schebella at chello.at
Sat Sep 14 09:42:12 CEST 2002


thanks krzystof for that hint.
still, some further questions, is it also possible to locate the graph
somewhere in the patch other than 0/0? and why is it not possible to cut and
paste after builiding (actually i think i will not need this feature, just
wondered).
marius.


----- Original Message -----
From: "Krzysztof Czaja" <czaja at chopin.edu.pl>
To: "Søren Bovbjerg" <sb at cvmt.dk>
Cc: <pd-list at iem.kug.ac.at>
Sent: Friday, September 13, 2002 5:12 PM
Subject: Re: [PD] Dynamic creation and destruction of arrays


hi,

say you would like to put in a top-left corner of a subpatch window w
an array t in a graph g, having the same values for size, number of
elements, etc, as if created from the menu.  Try then something like

;
pd-w graph g 0 -1 99 1 0 0 200 140;
pd-g array t 100 float 1

The syntax is:
pd-<graphname> array <arrayname> <nelements> <type> <saveflag>

Krzysztof

Søren Bovbjerg wrote:
...
> I have to use a bunch (actually a whole lot) of arrays. Instead of
manually
> making an 'array nest' I would like to autocreate the arrays when I need
> them.


_______________________________________________
PD-list mailing list
PD-list at iem.kug.ac.at
http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list






More information about the Pd-list mailing list