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 (May 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 5 May 2004 16:36:23 -0700
Reply-To:     "Choate, Paul@DDS" <pchoate@DDS.CA.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Choate, Paul@DDS" <pchoate@DDS.CA.GOV>
Subject:      Re: Where did GOTO go to...
Comments: To: "Sinclair-James, Brian (HHS/OS)" <Brian.Sinclair-James@HHS.GOV>

I dimly remember being frustrated that I couldn't use go-to to jump between data steps! For all the cautionary posts, go-to and link-return are still alive and well and useful.

Any do-loop is an implied go-to, as well if-then logic, and the datastep itself. All forms of the same idea.

Cheerio -

Paul Choate DDS Data Extraction (916) 654-2160

-----Original Message----- From: Sinclair-James, Brian (HHS/OS) [mailto:Brian.Sinclair-James@HHS.GOV] Sent: Wednesday, May 05, 2004 3:35 PM To: SAS-L@LISTSERV.UGA.EDU Subject: Where did GOTO go to...

Just an obnoxious observation before I sneak out into the gloomy night. I don't see many instances of people using GOTO any more. This was the de rigor way of controlling flow in the old days, but it seems like people are just using if-then-elses and macros. Are there particular efficiencies of this versus good ol' GOTO? is it simply that the issues we confront don't require the complex chunks of code? ;) or has macro processing simply made GOTO superfluous?

Just musing and wondering if I missed a memo...

Brian Sinclair-James Programmer/Developer, S.M.D.I. Dept. of Health and Human Services A.S.P.E. brian.sinclair-james@hhs.gov


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