I have a macro that recursivly runs some functions. I noticed that the macro variables are actually the functions themselves, instead of the values. Is there a way to force them to become values?
For instance:
%let x=1
%let Piece1=(&x+1);
%let Piece2=(&x+2);
%let equation=(&Piece1/&Piece2);
Now what I want is for equation to equal .666 ... what I get is (1+1)/(1+2)
How can I force the variable to be the value instead of the equation?
Thanks!
Noble
... View more