what does it mean #1 in max?????

federico's icon

Hi list,
I found the argument #1 in the count~ object; do you know what does it mean?
I can't find its explanation in the max help.
Thanks
fv

Luke Hall's icon

They basically use the numbered argument from the parent patcher. So if your [count~ #1] object is in a subpatch or abstraction typed [someObj 512 hello 3.14] it would be as if it had been givem the argument 512. Similarly in the subpatch any instances of #2 will be replaced with "hello" and #3 with 3.14 all the way up to 9 arguments. Go to Extras > ExamplesOverview > Max > Max Tricks > send-receive-hoard-#1 to see a patch that shows this in action.

federico's icon

thanks Luke
fv