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 (November 2011, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: bbser 2009 <bbser2009@gmail.com>
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 >


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