Article View: comp.sys.amiga.tech
Article #13568Re: First bug in Manx 5.0?
From: Bruce Dawson
Date: Wed, 07 Feb 1990 15:41
Date: Wed, 07 Feb 1990 15:41
10 lines
803 bytes
803 bytes
The 'unable to load bug: Error 2220548' message is, I believe, an error
in the shell, not in bug. What happens is that (if memory serves) if a
programs returns a negative error code, the CLI says it was unable to load the
program (never mind that the program was already loaded and executed). So, all
that is happening is that readchar() (or whatever routine it was you were
calling) is leaving a negative number in D0, which is getting returned from
main(), and there you have it.
.Bruce.
Technical Details
Message-ID:
<1074@mindlink.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!van-bc!rsoft!mindlink!a464Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!van-bc!rsoft!mindlink!a464 From: a464@mindlink.UUCP (Bruce Dawson) Newsgroups: comp.sys.amiga.tech Subject: Re: First bug in Manx 5.0? Message-ID: <1074@mindlink.UUCP> Date: 7 Feb 90 15:41:21 GMT Organization: MIND LINK! - British Columbia, Canada Lines: 10