Csound Csound-dev Csound-tekno Search About

[Csnd] Conditional expressions and strings...

Date2018-10-22 15:50
FromMauro Giubileo
Subject[Csnd] Conditional expressions and strings...

This doesn't work and makes Cabbage or CsoundQT crash on Windows:


    ia      =   1
    String  =   (ia == 1)? "yes" : "no"


I suppose conditional expressions with strings are not supported yet?

Regards,
Mauro


Date2018-10-22 16:07
Fromjpff
SubjectRe: [Csnd] Conditional expressions and strings...
A small tyopo.  I havr fixed t here -- just hope it makes it for the 
releae of 6.12


BTW it wouldhave wors for a k-rate condition


On Mon, 22 Oct 2018, Mauro Giubileo wrote:

> 
> This doesn't work and makes Cabbage or CsoundQT crash on Windows:
> 
> 
>     ia      =   1
>     String  =   (ia == 1)? "yes" : "no"
> 
> 
> I suppose conditional expressions with strings are not supported yet?
> 
> Regards,
> Mauro
> 
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-10-22 16:31
FromMauro Giubileo
SubjectRe: [Csnd] Conditional expressions and strings...

Yes, with k-rate works.

Thanks for the fix, I hope it makes in time for the 6.12 release. :-)

Regards,
Mauro


Il 2018-10-22 17:07 jpff ha scritto:

A small tyopo.  I havr fixed t here -- just hope it makes it for the releae of 6.12


BTW it wouldhave wors for a k-rate condition


On Mon, 22 Oct 2018, Mauro Giubileo wrote:


This doesn't work and makes Cabbage or CsoundQT crash on Windows:


    ia      =   1
    String  =   (ia == 1)? "yes" : "no"


I suppose conditional expressions with strings are not supported yet?

Regards,
Mauro

Csound mailing list Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
https://github.com/csound/csound/issues Discussions of bugs and features can
be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here