LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 3 Jan 2005 13:13:13 -0500
Reply-To:     richard@GLENCAIRN-CONSULTING.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
Comments:     To: Michael Murff <mjm33@MSM1.BYU.EDU>
From:         Richard Graham <richard@GLENCAIRN-CONSULTING.COM>
Subject:      Re: Seemingly invalid macro DO loop constructs
Comments: To: SAS-L@LISTSERV.VT.EDU
Content-Type: text/plain; charset=us-ascii

Perhaps something like

%macro code; code you want to execute via the do loop; %mend code

%macro doloop; %do _i = 7 %to 12; %code; %end; %do _i = 1 %to 6; %code; %end;

%mend doloop; %doloop;

HTH

Richard W. Graham Vice President, COO Glencairn Consulting Group, Inc.


Back to: Top of message | Previous page | Main SAS-L page