If it's a catastrophic event, then you should probably raise a fatal exception. Check out the debug macros for a list of what's available.
> You can always post a appstop event... but it wont stop the application > in > it's tracks. > > > > -----Original Message----- > From: Matt Graham [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 4:12 PM > To: Palm Developer Forum > Subject: how to exit() > > Let's say my program recognizes a (relatively) catastrophic state in > which I want to just display an error message and exit. Is there an > equivalent to exit() that I could call that would stop execution from > where ever I call it? > > Thanks, > matt > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ > -- Roberto Machorro [EMAIL PROTECTED] http://machorro.net/roberto -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
