Thanks Monte. I've come to see that returning a value from a built in message handler is a no go.
Bob S On Oct 26, 2016, at 16:36 , Monte Goulding <mo...@appisle.net<mailto:mo...@appisle.net>> wrote: OK, just to make sure I understand you I’ll summarise in code: on openCard go card “database setup” if the result is false then — database setup failed end if end openCard — database setup card script on openCard — do stuff return stuffFailed end openCard If ^ is what you are doing then no it won’t work. The result after the go command is an error message if it failed rather than anything returned by openCard. Cheers Monte _______________________________________________ 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