Open joachimheintz opened 9 years ago
I've marked this for CS7 for now. I don't know if this really is the right path to take to solve the problem. I wonder if when Lists are implemented (issue #446), whether this might be something that could be used.
(this might be a suggestion for csound7 — not sure how complicated it might be now. but perhaps it is possible to allow numbers for arrays in the same way as for function tables?)
situation: with function tables, i can do: giTimes[] fillarray 100, 439, 801, 6543 iCnt = 0 while iCnt < lenarray(giTimes) do event_i "f", iCnt+1, 0, -giTimes[iCnt], 2, 0 iCnt += 1 od and then refer to the tables by the number 1,2,3,4.
but for arrays, i can not. and because if cannot create dynamic variable names either (like giArr%d[]).
creating dynamic variable names would give much more flexibility. if not, being able to refer to an array by a number would be a workaround.