Article View: alt.folklore.computers
Article #4664Re: Worst error messages of all time.
From: dav... Mat Davis
Date: Thu, 18 Oct 1990 13:24
Date: Thu, 18 Oct 1990 13:24
24 lines
1956 bytes
1956 bytes
In article <1990Oct17....@ultra.com> ha...@ultra.com (John Hayes) writes:
>I used to use the UCSD Pascal system as a developmet system on apple ]['s
>some time ago. The strangest error message I ever encountered was
>
>"return from uncalled subroutine"
>
>During execution. This usually occurred in an assembler section...
It didn't always, though. I ran into that particular message on some program
or another that I had written and spent a good while trying to figure out what
had happened. I *think* that the actual message was 'Exit from uncalled
subroutine', and I finally tracked the problem down.
UCSD Pascal had an 'exit' statement that was used as 'exit (procname)'. And
of course, what had happened was that I had copied the code for a procedure,
renamed it and made a few other changes, and then run the program, but I had
forgotten to change the name in the exit statement. Thus, when I called
procedure 'a' (say), it tried to exit from procedure 'b'. Thus, the error
message meant exactly what it said.
-------------------------------------------------------------------------------
Mat Davis (dav...@vtopus.cs.vt.edu)
Department of Computer Science, Virginia Tech
-------------------------------------------------------------------------------
Technical Details
Message-ID:
<652@creatures.cs.vt.edu>Path:
mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!vtserf!creatures!davismReferences:
<426@synsys.UUCP> <39095@cc.usu.edu> <1990Oct17.090625.4960@ultra.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!vtserf!creatures!davism From: dav...@creatures.cs.vt.edu (Mat Davis) Newsgroups: alt.folklore.computers Subject: Re: Worst error messages of all time. Message-ID: <652@creatures.cs.vt.edu> Date: 18 Oct 90 13:24:51 GMT References: <426@synsys.UUCP> <39095@cc.usu.edu> <1990Oct17.090625.4960@ultra.com> Sender: use...@creatures.cs.vt.edu Reply-To: dav...@vtopus.cs.vt.edu (Mat Davis) Organization: Virginia Tech Computer Science, Blacksburg, VA Lines: 24 Posted: Thu Oct 18 14:24:51 1990 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit