variable file's name

lucycle's icon

Hello. I'm quite new to max. I'd like to store midi sequences, that I can retrieve according to some parameter. My idea is to have a variable file's name, so I can retrieve "seq1.mid", then "seq2.mid", according to the parameter.
How can I get to this? It doesn't seem to understand a variable string-like file's name!
Thank you!

Luke Hall's icon

Something like this perhaps [sprintf read seq%ld.mid]?

lucycle's icon

Yes! It works the way I wanted!
Thank you!