aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/makefilename-help.pd
blob: 6850699b5094d472d0bce0dc5920612ed8e39219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;