diff options
Diffstat (limited to 'pd/doc/5.reference/makefilename.pd')
-rw-r--r-- | pd/doc/5.reference/makefilename.pd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pd/doc/5.reference/makefilename.pd b/pd/doc/5.reference/makefilename.pd new file mode 100644 index 00000000..6850699b --- /dev/null +++ b/pd/doc/5.reference/makefilename.pd @@ -0,0 +1,17 @@ +#N canvas 18 58 583 301 12; +#X floatatom 30 169 0 0 0; +#X obj 30 223 print; +#X obj 30 196 makefilename dog%d.aif; +#X msg 245 166 symbol meat; +#X msg 355 167 symbol hair; +#X obj 245 223 print; +#X obj 245 196 makefilename dog%s.aif; +#X text 28 49 The Makefilename object generates symbols according to a format string \, for use as a series of filenames \, table names \, or whatnot. You can plug in a variable number or symbol by putting "%d" or "%s" in the string. If you put "%s" in the string be sure to send it a symbol and vice versa... there's no checking.; +#X text 319 257 updated for Pd version 0.33; +#X obj 49 17 makefilename; +#X text 170 18 - format a "name" with a variable field; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X connect 3 0 6 0; +#X connect 4 0 6 0; +#X connect 6 0 5 0; |