| hi steven -
yes, my mistake. it should read
printf_i "%s %s %s%s\n", 1, S1, S2, S3, S4
thanks for the feedback -
joachim
Am 05.03.2013 00:22, schrieb Steven Yi:
> Hi Joachim,
>
> I added these examples to csound6/tests/commandline/contrib. The test
> suite is a bit limited at the moment and only checks for success or
> failure in parsing, so I put them there for the time being until
> there's more time to improve the test harness. I think the bug from
> these examples was related to the String bug. However,
> multiple_strings_in_scoreline2.csd does give me an error:
>
> INIT ERROR in instr 1: printf_i: insufficient arguments for format
> printf_i "%s %s %s %s%s\n" 1 S1 S2 S3 S4
>
> I wonder though if this isn't a valid error as a number is passed into
> for %s, which I'm not sure is valid. The other examples seem to be
> working just fine though.
>
> Thanks again for reporting this and contributing these great tests!
>
> steven
>
> On Tue, Feb 26, 2013 at 7:45 PM, joachim heintz wrote:
>> hi -
>>
>> i have tested the new feature of multiple strings per score line and found
>> some issues. i do attach the series; the results are commented inline. in
>> short:
>>
>> multiple_strings_in_scoreline1.csd works, wheras
>> multiple_strings_in_scoreline2.csd and
>> multiple_strings_in_scoreline3.csd don't.
>>
>> after looking a bit what might cause the error, my guess is that there is
>> some limitation in the possible string length. the result is shown in
>> multiple_strings_in_scoreline1b.csd:
>> only a string of 7 characters or less is recognized correctly.
>>
>> so it looks like the issue shows also when there is only one string in the
>> line.
>>
>> best -
>>
>> joachim
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_feb
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |