Worst extension ever?
- From: Thomas Koenig <Thomas.Koenig@xxxxxxxxx>
- Date: Wed, 18 Jan 2006 21:02:26 +0100 (CET)
What you think was the worst extension to Fortran you've ever
come across?
My personal (dis)favorite was the AT statement in a Siemens/Fujitsu
compiler, for debugging purposes. It actually implemented the
infamous "come from" statement, and it also introduced different
behavior when debugging.
Code like
10 A = I+3
20 B = I+5
DEBUG
AT 10
IF (I.LT.4) I=42
GOTO 20
END
would, when debugging was turned on, magically yank control flow
away at the statement label 10, change the value of I and then
jump back.
Urgh.
Anything worse?
.
- Follow-Ups:
- Re: Worst extension ever?
- From: robert . corbett
- Re: Worst extension ever?
- From: David Flower
- Re: Worst extension ever?
- From: Clive Page
- Re: Worst extension ever?
- From: David Flower
- Re: Worst extension ever?
- From: glen herrmannsfeldt
- Re: Worst extension ever?
- Prev by Date: Re: Fortran 90 compiler on Mac
- Next by Date: Re: random selection without replacement
- Previous by thread: Fortran 90 compiler on Mac
- Next by thread: Re: Worst extension ever?
- Index(es):
Relevant Pages
|