Csound Csound-dev Csound-tekno Search About

[Csnd] Alias for variable

Date2011-11-11 11:02
Fromobaudouin
Subject[Csnd] Alias for variable
Hello,

I wonder if alias variables exist in Csound. For example, with

 a1 = a2

 Is a1 a copy of a2, or only a link to a2?

If that is a copy: is there a way to have a link with an alias?

My goal is to use an universal template with a lot of variables which I
could link to more explicit variables names into the orchestra, while
minimal use of RAM.

Olivier.



--
View this message in context: http://csound.1045644.n5.nabble.com/Alias-for-variable-tp4984036p4984036.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-11-11 11:27
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Alias for variable
It copies the value.  If you want multiple nmaes then macros may help


> Hello,
>
> I wonder if alias variables exist in Csound. For example, with
>
>  a1 = a2
>
>  Is a1 a copy of a2, or only a link to a2?
>
> If that is a copy: is there a way to have a link with an alias?
>
> My goal is to use an universal template with a lot of variables which I
> could link to more explicit variables names into the orchestra, while
> minimal use of RAM.
>
> Olivier.
>
>
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/Alias-for-variable-tp4984036p4984036.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"