[Lazarus] Exit Status of Lazarus App

Sven Barth pascaldragon at googlemail.com
Thu Mar 21 14:42:32 CET 2013


Am 21.03.2013 14:23, schrieb David Copeland:
> Hi,
>
> How can I set the exit status/return code of a Lazarus application? I
> have done some searching but haven't found it.
The variable you are looking for is called "ExitCode" (and as it is in 
unit System it's always available). See here: 
http://www.freepascal.org/docs-html/rtl/system/exitcode.html

Regards,
Sven




More information about the Lazarus mailing list