How to detect and handle an External's runtime error?

Interested adding compiled externals from LiveCode and third parties to your LiveCode projects? This is the place to talk about them.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
OBDave
Posts: 10
Joined: Fri Apr 02, 2010 4:33 am
Location: San Diego, CA

How to detect and handle an External's runtime error?

Post by OBDave » Mon Apr 12, 2010 8:07 am

Hello - I'm very new to Revolution, and I've searched here and asked The Google but have not been able to find an answer. Apologies in advance if this topic has already been covered somewhere.

How does one detect and handle a runtime error occuring in an External function call? The IDE halts and displays the error, but in a Standalone build, the Standalone executable seems to blast right past the error silently. I would like to be able to catch the error and deal with it, but I've been unable to find any documentation for how this is done.

Regards,

Dave

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9824
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: How to detect and handle an External's runtime error?

Post by FourthWorld » Mon Apr 12, 2010 3:02 pm

The standalone build provides an option to include an execution error dialog. I don't know why this is turned off by default, but you can include it by just clicking a checkbox.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Using Externals”