Oh cool! I asked this same thing years ago, and got back from everyone, “Just use try/catch.”
I’ll look into that. Bob S > On Nov 20, 2014, at 08:26 , Richard Gaskin <ambassa...@fourthworld.com> wrote: > > Bob Sneidar wrote: > > > In FoxPro you could simply create a handler which got triggered by > > errors then check an internal code for what the most recent error > > was, then make a switch statement to handle all the pertinent errors > > for your project. The normal error message display was suppressed so > > that the developer could present a message of his own and then act > > accordingly. For example, database connection errors could drop into > > a repeat loop asking the user to try again or quit. I think this > > would be a preferable method to try/catch because all your error code > > could be consolidated into one place. > > That's pretty much what LiveCode offers with the errorDialog message. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > ambassa...@fourthworld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode