return "error" code from standalone compile

Douglas A. Ruisaard dougr at telus.net
Wed Dec 9 20:53:50 EST 2020


Beauties!   .. thanks! ... should have remembered that!

Douglas Ruisaard


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Mark Wieder via use-livecode
Sent: Wednesday, December 9, 2020 5:46 PM
To: Douglas A. Ruisaard via use-livecode
Cc: Mark Wieder
Subject: Re: return "error" code from standalone compile

On 12/9/20 5:32 PM, Douglas A. Ruisaard via use-livecode wrote:
> On the completion of a stack, can the compiled executable return an error
> code like the old DOS ErrorLevel value(s)?  If so, how do you specify the
> error code?  in the on closeStack call?

See the quit command in the dictionary.

quit 42

-- 
  Mark Wieder
  ahsoftware at gmail.com

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list