#define PATTERN(name'pattern) #
prints "test %s %d\n", $name, lenarray($pattern)
instr $name
iN = p4
iTrans = p5
endin
#
gkArr[] fillarray 1,2,3,4
$PATTERN("Pattern1"'gkArr)
The prints logs $name fine…
Named instruments accept a string, so why is $name in the instr declaration throwing errors?
error: syntax error, unexpected STRING_TOKEN (token """)