In <[email protected]>, on
09/30/2013
at 03:26 PM, Paul Gilmartin <[email protected]> said:
>Pascal has GOTO. Dismayingly, statement labels are numeric, perhaps
>a legacy of FORTRAN (and ALGOL 60).
ALGOL 60 had alphanumeric labels, and there was a consensus that
allowing numeric labels had been a mistake.
>In my opinion, the greatest value of GOTO is the longjump;
I've had very few cases where a GOTO out of block[1] was the cleanest
way to code something. I see its greatest value as implementing new
control structures, e.g., a CASE statement before SELECT came along.
[2] Where I've done it, it was to exit from an ON unit.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
Atid/2 <http://patriot.net/~shmuel>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN