Article View: net.lang.pascal
Article #316Pascal and GOTO statements
From: Joel McCormack
Date: Thu, 24 Jul 1986 03:34
Date: Thu, 24 Jul 1986 03:34
18 lines
1213 bytes
1213 bytes
I knew sooner or later someone was going to complain about using GOTO in
Pascal.
Pascal is severely handicapped by the non-definition of boolean expression
evaluation, as well as the lack of a general loop construct.
I used to use dummy boolean variables to get around these problems. After
programming in Modula-2 awhile, I decided that the dummy booleans obscured
the code more that a simple GOTO did.
In any case, Niklaus has defined Modula-2, so I consider discussions like
this moot. If you want to complain, at least complain about what Modula-2
can't do; discussions of Pascal's problems are out of date.
--
- Joel McCormack {ihnp4 decvax ucbvax allegra}!decwrl!joel
joel@decwrl.arpa
Technical Details
Message-ID:
<4369@decwrl.DEC.COM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!husc6!ut-sally!pyramid!decwrl!joelShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!husc6!ut-sally!pyramid!decwrl!joel From: joel@decwrl.DEC.COM (Joel McCormack) Newsgroups: net.lang.pascal Subject: Pascal and GOTO statements Message-ID: <4369@decwrl.DEC.COM> Date: Wed, 23-Jul-86 23:34:23 EDT Article-I.D.: decwrl.4369 Posted: Wed Jul 23 23:34:23 1986 Date-Received: Thu, 24-Jul-86 08:16:10 EDT Organization: DEC Western Software Lab, Palo Alto, CA Lines: 18 Keywords: Pascal GOTO