« Return to Thread: max length of string
(min: 10, max: 10000) Maximum length of string variables + 1; defaults to 256 allowing a length of 255 characters. The length of string constants is not limited by this parameter.
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
| Free embeddable forum powered by Nabble | Forum Help |