Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!maverick.ksu.ksu.edu!harris.cis.ksu.edu!mac From: mac@harris.cis.ksu.edu (Myron A. Calhoun) Newsgroups: comp.lang.pascal Subject: Re: Gotos are ok (Was Re: IMPLEMENT GOTO ACROSS MODULES IN TURBO PASCAL??) Summary: CASE... Message-ID: <1991Jan19.145931.10286@maverick.ksu.ksu.edu> Date: 19 Jan 91 14:59:31 GMT Expires: 2 February 1991 References: <2802@oucsace.cs.OHIOU.EDU> <1991Jan18.151104.13742@maverick.ksu.ksu.edu> <21350@oolong.la.locus.com> Sender: news@maverick.ksu.ksu.edu (The News Guru) Distribution: usa Organization: Kansas State University, Dept. of Computing and Information Sciences Lines: 25 In article <21350@oolong.la.locus.com> jfr@locus.com (Jon Rosen) writes: >In article <1991Jan18.151104.13742@maverick.ksu.ksu.edu> mac@harris.cis.ksu.edu (Myron A. Calhoun) writes: >>In article <2802@oucsace.cs.OHIOU.EDU> tswingle@oucsace.cs.OHIOU.EDU (Tom Swingle) writes: >> [many lines deleted] >..... CASE, ....[is a] highly disciplined >structured constructs that, while containing branches, enforce a rigor that >makes it less likely to have errors in the code... They have a beginning >and an end.... And in the C programming language, lots of middles!-) I'm aware this group is comp.lang.pascal, but what you say about CASE sure isn't true in C, where each case usually needs a hidden GOTO (i.e., BREAK) to get to the end of the CASE construct. Aren't computer languages interesting?! --Myron. -- # Myron A. Calhoun, Ph.D. E.E.; Associate Professor (913) 539-4448 home # INTERNET: mac@harris.cis.ksu.edu (129.130.10.2) 532-6350 work # UUCP: ...rutgers!ksuvax1!harry!mac 532-7353 fax # AT&T Mail: attmail!ksuvax1!mac W0PBV @ K0VAY.KS.USA.NA