Well, then it sounds like you just want an array of names and a macro that loops over said array instantiating each `proc` using the name and its array index. Or you could also do as @Vindaar showed, ever so slightly more verbosely (in his e.g. solution the user tracks the argument instead of the position in an array setting it).
- Optimize this code? cblake
- Optimize this code? justb