Date: Wed, 25 Oct 2006 07:52:06 -0700
Reply-To: RolandRB <rolandberry@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: RolandRB <rolandberry@HOTMAIL.COM>
Subject: Re: assign macro variable to number of columns
Content-Type: text/plain; charset="iso-8859-1"
> Hello SAS-L,
> I have a sas table with x columns. How would I create a macro variable
> &d that represents the number x? I need to use this &d in another macro
> that has the line "%do i = 1 %to &d".
> I would appreciate your help.
That's if you use the macros on my Spectre web site.