|Date: ||Sat, 7 Apr 2007 03:34:31 +0000|
|Reply-To: ||toby dunn <tobydunn@HOTMAIL.COM>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||toby dunn <tobydunn@HOTMAIL.COM>|
|Subject: ||Re: An easy macro question?|
|Content-Type: ||text/plain; format=flowed|
I have no clue what you are doing but seems you have coded yourself into a
macro corner try this somewhat weird use od %SuperQ.
%let trt1 = F ;
%let trt2 = M ;
%let M_H = 45 ;
%let F_H = 3.241 ;
%let i = 1 ;
%let a = %SuperQ(&&trt&i.._H) ;
%Put &A ;
You can see a lot by just looking. ~Yogi Berra
Do not seek to follow in the footsteps of the wise. Seek what they sought.
You never know what is enough, until you know what is more than enough.
~William Blake, Proverbs of Hell
From: Ya Huang <ya.huang@AMYLIN.COM>
Reply-To: Ya Huang <ya.huang@AMYLIN.COM>
Subject: An easy macro question?
Date: Fri, 6 Apr 2007 23:08:36 -0400
This has to be something very easy, but at this moment, I am stumped:
1 %let trt1=F;
2 %let trt2=M;
3 %let M_H=45;
4 %let F_H=3.241;
5 %let i=1;
7 %let a=&&trt&i.._H;
8 %put &a;
I was hoping to get &a = 3.241
I tried to add more &, but to no avail.
The average US Credit Score is 675. The cost to see yours: $0 by Experian.