| Hi All,
I've committed a change just now to Csound 6 where array specifiers
for opcodes now use the "k[]" form instead of the "[k]". There is now
a specification for internal vs. external array specifications. Users
and opcode writers will use the same external format of "k[]" or
"k[][]". An example is found in csound6/tests/test_karrays_udo.csd:
opcode Test,k,k[]
kS[] xin
k1 = kS[0]
xout k1
endop
Internally, at this time, the "[k]" form is still used as it
simplifies parsing/coding. This can and probably should be revisited
later.
Otherwise, the code has been tested so far as what is covered by the
tests in csound6/tests/commandline. I am not sure if all places where
internal/external conversions are required have been covered. Any
testing by users and submission of bugs to the bugtracker would be
extremely valuable and appreciated.
Note: This array specifier syntax goes for both writers of UDO's as
well as C Opcodes. Examples of it in C can be found in arrays.c.
Thanks!
steven
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel |