Thanks, Victor! -David On 5/19/07, Victor Lazzarini wrote: > > There is a function (in prototyp.h) that lists all > opcodes. However, it's not part of the API, but it > might be interfaced, perhaps? list_opcodes() > > In any case, you can always run 'csound -z' and then parse > the output. Opcodes are spaced by _spaces_. > > Victor > > > > > Hi List, > > > > How might it be possible to use the Csound API to populate > > an array with the opcode list ? > > > > Presently I'm using just this > > > > const char *code_keywords[] = { > > "ATSadd", > > "ATSaddnz", > > // etc etc Csound opcodes go here > > }; > > > > but the tedium of going in by hand and adding new opcodes > > each release is what I'm trying to avoid. Someone > > mentioned at one point that it might be possible to > > populate this array by using the Csound API, but I am > > unsure of how to use it for this purpose. > > > > Any help or tips would be appreciated! > > > > > > -David > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net