On Fri, Jun 05, 2020 at 10:04:17PM +0200, joachim heintz wrote: > yes this fixes it. thanks! > j BTW, I discovered that it still works if the "$$SCORE.." lines are changed to simple "$SCORE..." too. This also makes it work in Csound5, which otherwise complained. Would be nice to know why it was the way it was... -- Pete -- > > > On 05/06/2020 20:38, Pete Goodeve wrote: > >On Fri, Jun 05, 2020 at 07:28:36PM +0200, joachim heintz wrote: > >>there is an example of iain mccurdy in the csound floss manual which > >>used to work, but now i get this error: > >> > >>defining argument `SCORE``i as...#1# > >>Undefined macro: '$`SCORE``'defining argument `SCORE``i as...#2# > >>Undefined macro: '$`SCORE``'sread: illegal opcode $ > >> > >>this is with > >>--Csound version 6.14 (double samples) May 22 2020 > >>[commit: 3e6c7ab20bfce8bd6f77de2dd91f3e614e991c1b] > >> > >>the code is attached. is this a bug? or is anything wrong with the > >>score? > >> > > > >I find that it works if I change the "$$i" in the first line of the macro > >to "$i". > > > >The "$$SCORE" lines seem to be OK, but I don't understand the > >double-$ use. I can't find any reference to it in the manual. > > > > -- Pete -- > > > >Csound mailing list > >Csound@listserv.heanet.ie > >https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > >Send bugs reports to > > https://github.com/csound/csound/issues > >Discussions of bugs and features can be posted here > > > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here