« Return to Thread: max length of string

max length of string

by Oeyvind Brandtsegg-2 :: Rate this Message:

Reply to Author | View in Thread

Hello,

Would it be ok to increase the max length of a string variable in Csound ?
See attached csd, a long string causes a strcpy buffer overflow.

I would need long strings to create lists of parameter names, where a
macro should be called with parameter name as an argument.
I'm parsing the string with another macro, popping each parameter name
one by one from the long string.
This way, it will be possible to do simple iteration on lists in Csound.

Oeyvind

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Csound-devel mailing list
Csound-devel@...
https://lists.sourceforge.net/lists/listinfo/csound-devel

 « Return to Thread: max length of string