Date: Fri, 10 Aug 2001 14:32:55 -0400
Reply-To: Edward Heaton <HEATONE@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Edward Heaton <HEATONE@WESTAT.COM>
Subject: Re: Suggestion: Language improvement
Content-Type: text/plain; charset="iso-8859-1"
Jack,
select (a);
when (1) /* do something */'
/* More stuff */
end /*select*/;
Ed
-----Original Message-----
From: Jack Hamilton [mailto:JackHamilton@FIRSTHEALTH.COM]
Sent: Friday, August 10, 2001 1:16 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Suggestion: Language improvement
It would be helpful to allow a marker of some kind on the END statement to
indicate what the END is closing. For example:
select (a);
when (1) /* do something */'
/* More stuff */
end select;
In the more general case, you might allow
label: do i = 1 to 12;
* Stuff;
end label;
This would make it easier to follow nested loops, and would allow the
compiler to detect some coding errors.
--
JackHamilton@FirstHealth.com
Development Manager, Technical Group
METRICS Department, First Health
West Sacramento, California USA