From 57045df5fe3ec557e57dc7434ac1a07b5521bffc Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Mon, 29 Jul 2002 17:06:19 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r58, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=59 --- pd/doc/5.reference/makefilename.pd | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pd/doc/5.reference/makefilename.pd (limited to 'pd/doc/5.reference/makefilename.pd') 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; -- cgit v1.2.1