[PD] String formating -> something like makefilename, /makesymbol/prepend

bbogart at ryerson.ca bbogart at ryerson.ca
Mon Nov 25 04:24:25 CET 2002


Hi all,

I need to create a message as follows (a gem
pix_image open command)

open ../../db/0/10

Where 0 and 10 are numbers generated by math
objects, its a hierarhcy of Images I'm mapping to an
equation. 

Its a lot like makefilename, but I need to do two
subsitutions. 

Best solution would be something like printf which
replaces a placeholder with incoming data:

pack 0 10
 |
foo "open ../../db/%s/%s"

fine if it can only do strings... I looked in the
pdb without luck, any suggestions?

Thanks
Ben






More information about the Pd-list mailing list