🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #1247

Re: System Beep on power on. FLAME

#1247
From: Thomas M. Chavez
Date: Thu, 02 May 1985 06:47
23 lines
1450 bytes
Many of you have seen that there is a RESUME button on System Error dialogs.
With most software, it is dimmed, but developers can set a resume routine that
can be called when a system error is generated.  It is set by passing an address
in the InitDialogs ROMcall.  This address will be called if the user presses the
RESUME button in the error dialog.

A good call to use is the ExitToShell command.  This will return the user to th
finder where he can choose whether to edit again, or whatever.  To do this in C,
do the following:

resumeProc();
   {ExitToShell();}

and in your main procedure:

InitDialogs (resumeProc);

The resume procedure will usually work, but there are a few cases where it won't
 for a reason that I don't know.

Hope this helps...
Tom Chavez
chavez@BERKELEY
Technical Details
Message-ID: <6689@ucbvax.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!ucbvax!chavez
References: <219@tektools.UUCP> <5045@Shasta.ARPA>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 8/7/84; site ucbvax.ARPA
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!ucbvax!chavez
From: chavez@ucbvax.ARPA (Thomas M. Chavez)
Newsgroups: net.micro.mac
Subject: Re: System Beep on power on. FLAME
Message-ID: <6689@ucbvax.ARPA>
Date: Thu, 2-May-85 02:47:09 EDT
Article-I.D.: ucbvax.6689
Posted: Thu May  2 02:47:09 1985
Date-Received: Fri, 3-May-85 03:19:42 EDT
References: <219@tektools.UUCP> <5045@Shasta.ARPA>
Reply-To: chavez@ucbvax.UUCP (Thomas M. Chavez)
Distribution: net
Organization: University of California at Berkeley
Lines: 23