| Date: | Mon, 20 Apr 2009 10:38:46 -0400 |
| Reply-To: | "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV> |
| Subject: | Re: do while |
| In-Reply-To: | <66935f0f-7438-4357-8b79-ce8db625b60c@w9g2000yqa.googlegroups.com> |
| Content-Type: | text/plain; charset=us-ascii |
Do which? loop, until, or while?
A review of data step and macro algorithms.
http://www2.sas.com/proceedings/forum2007/067-2007.pdf
> -----Original Message-----
> From: owner-sas-l@listserv.uga.edu
> [mailto:owner-sas-l@listserv.uga.edu] On Behalf Of hd
> Sent: Friday, April 17, 2009 3:26 PM
> To: sas-l@uga.edu
> Subject: do while
>
> Hello,
>
> I am having trouble in the syntax for do while in macros
>
> is this correct
>
>
> %do %while ((&all1and2 = 1) or (&temp>=6));
>
> when i just omit the second condition it works.
>
> %do %while (&all1and2 = 1)
>
> Many Thanks
>
>
|