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 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 18 Nov 2002 12:52:32 EST
Reply-To:   Erik013@AOL.COM
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Erik013@AOL.COM
Subject:   Re: basic SAS question
Content-Type:   text/plain; charset="US-ASCII"


The do loop counts from 9 (true <= 10), 10 (true <= 10) and 11 (false <= 10). When it hits the false condition, it drops out of the loop. Your second PUT statement is outside the loop and since i still has the value of 11, it writes it out, as your log example shows.


Erik S. Larsen Independent Consultant PO Box 505 Charleston, SC 29401

A SAS Alliance Consulting Partner Silver Member A SAS Certified Professional V8

(843) 367-2862 (SC office) (703) 568-3083 (VA office) (801) 681-3281 (fax)

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