Csound Csound-dev Csound-tekno Search About

[Csnd] macros within macros

Date2010-10-09 02:20
FromRalph Bluecoat
Subject[Csnd] macros within macros
Hello all,

I was wondering how one would have a macro with a macro, under these conditions:

#define NUM # 123 #

#define SOMETHING(X) # $NUM $X #

under these conditions, the $NUM would show up as a csound logical error.

Any suggestions?

Ralphy

Date2010-10-09 03:26
FromRalph Bluecoat
Subject[Csnd] Re: macros within macros
I found a glitch in my score. I was being impatient. I still need to get the hang of using this program.

Sorry!
-Ralph

On Fri, Oct 8, 2010 at 9:20 PM, Ralph Bluecoat <ralphbluecoat@gmail.com> wrote:
Hello all,

I was wondering how one would have a macro with a macro, under these conditions:

#define NUM # 123 #

#define SOMETHING(X) # $NUM $X #

under these conditions, the $NUM would show up as a csound logical error.

Any suggestions?

Ralphy