Csound Csound-dev Csound-tekno Search About

[Csnd] Macro replacements does not work inside double curly brackets

Date2009-12-02 19:12
FromJacob Joaquin
Subject[Csnd] Macro replacements does not work inside double curly brackets
It seems that macro replacement doesn't occur within double curly
brackets. Is this the expected behavior? For example:

# define bar # hello world #
prints "$bar"    ; prints hello world
prints {{$bar}}  ; prints $bar

Best,
Jake

Date2009-12-02 19:28
FromAndres Cabrera
Subject[Csnd] Re: Macro replacements does not work inside double curly brackets
Can I also add a bug report...?
If I try to pass a full csd text as a python string within triple
apostrophe, Csound will choke...

It may be related to Joachim's post as you'd usually want to do this
within double brackets which contain a python script...

Cheers,
Andrés

On Wed, Dec 2, 2009 at 7:12 PM, Jacob Joaquin  wrote:
> It seems that macro replacement doesn't occur within double curly
> brackets. Is this the expected behavior? For example:
>
> # define bar # hello world #
> prints "$bar"    ; prints hello world
> prints {{$bar}}  ; prints $bar
>
> Best,
> Jake
> --
> The Csound Blog - http://csound.noisepages.com/
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



-- 


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-12-03 00:08
Fromjoachim heintz
Subject[Csnd] Re: Re: Macro replacements does not work inside double curly brackets
>
> It may be related to Joachim's post as you'd usually want to do this
> within double brackets which contain a python script...

you mean jacob, right?

ciao -

	joachim


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-12-03 14:34
FromAndres Cabrera
Subject[Csnd] Re: Re: Re: Macro replacements does not work inside double curly brackets
I'll never fully manage it!!!!

Cheers,
Andrés

On Thu, Dec 3, 2009 at 12:08 AM, joachim heintz  wrote:
>>
>> It may be related to Joachim's post as you'd usually want to do this
>> within double brackets which contain a python script...
>
> you mean jacob, right?
>
> ciao -
>
>        joachim
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>



-- 


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"