comp.lang.ada
 help / color / mirror / Atom feed
From: robin.vowels@gmail.com
Subject: Re: Marina 1 / FORTRAN bug
Date: Thu, 8 Aug 2019 08:40:45 -0700 (PDT)
Date: 2019-08-08T08:40:45-07:00	[thread overview]
Message-ID: <86986725-f34e-46d7-9efc-d15d94379048@googlegroups.com> (raw)
In-Reply-To: <1992Dec4.141816.1@happy.colorado.edu>

On Saturday, December 5, 1992 at 7:18:16 AM UTC+11, srhe...@happy.colorado.edu wrote:

> I heard a rumer about a multi-million (or multi-billion) dollar satellite going
> astray because some one left a comma out of a FORTRAN DO loop and it was still
> syntactically legal.  Can anybody give me a reference on this?  

A google search produced this first try:


This has come up in a couple of threads in the last month or two, so I finally got around to looking it up. The famous FORTRAN punctuation error occured on Mariner 1 in 1962. Here is a description of the error:

"There is a useful lesson to be learned from the failure of one of the earliest planetary probes launched by NASA. The cause of the failure was eventually traced to a statement in its control software similar to this:

DO 15 I = 1.100

when what should have been written was:

DO 15 I = 1,100

but somehow a dot had replaced the comma. Because Fortran ignores spaces, this was seen by the compiler as:

DO15I = 1.100
which is a perfectly valid assignment to a variable called DO15I and not at all what was intended."

Information found here:

http://www.star.le.ac.uk/~cgp/prof77.html#tth_sEc1.3

  parent reply	other threads:[~2019-08-08 15:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-12-04 20:18 C++ vs. Ada -- Is Ada loosing? happy.colorado.edu!srheintze
2019-08-08 15:23 ` robin.vowels
2019-08-12 15:47   ` Shark8
2019-08-08 15:40 ` robin.vowels [this message]
2019-08-08 17:26   ` Mariner 1 / FORTRAN bug Jeffrey R. Carter
2019-08-09  1:57     ` robin.vowels
2019-08-09  6:28       ` J-P. Rosen
2019-08-09  6:47         ` Niklas Holsti
2019-08-09 11:40           ` J-P. Rosen
2019-08-09 15:57           ` Jeffrey R. Carter
2019-08-09  8:38         ` Maciej Sobczak
2019-08-09 14:27           ` Nasser M. Abbasi
2019-08-09 21:05             ` Maciej Sobczak
2019-08-09 21:24               ` Lucretia
2019-08-09 22:03                 ` Paul Rubin
2019-08-08 17:51   ` Keith Thompson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox