Csound Csound-dev Csound-tekno Search About

Re: Macro question

Date1999-04-01 06:35
Fromjpff@maths.bath.ac.uk
SubjectRe: Macro question
Message written at 31 Mar 1999 19:57:21 +0530

>>>>> "rasmus" == rasmus ekman  writes:

 rasmus> Either # or ' works for me (Csound 3.53, earlier it was just # ).

 rasmus> #define tryit(A'B'C) #
 rasmus> 	$A. = $A. * ($B. + $C.) 
 rasmus> #

 rasmus> $tryit(kfrq ' kfrmod ' 1.2)

 rasmus> Compiles (with or without the spaces around separators), 
 rasmus> given that kfrq and kfrmod exist in the orc.

and of course the soace will appear in the expansion which is why
Gabriel and I tried to find a character which did not have Csound
syntactic meaning