Date: Wed, 9 Nov 2011 21:50:10 -0600
Reply-To: Joe Matise <snoopy369@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Joe Matise <snoopy369@GMAIL.COM>
Subject: Re: functions in do loop statements
In-Reply-To: <000001cc9f59$0ce5bc30$26b13490$@com>
Content-Type: text/plain; charset=ISO-8859-1
As Mark says, it will only be evaluated once. Thus if you change the
dimensions of array (if you could), it will not change the end state
of the loop. However, you can manipulate i however you want.
-Joe
On Wed, Nov 9, 2011 at 9:30 PM, bbser 2009 <bbser2009@gmail.com> wrote:
> Hi there,
>
> Consider a simple do loop statement like this:
>
> ...
> do i=1 to dim(array);
> ...
> end;
> ...
>
> I was wondering if the function will be called more than one time.
>
> Thank you.
>
> Max
>
|