Reinier Olislagers wrote:
On 21-3-2013 14:23, David Copeland wrote:
Hi,
How can I set the exit status/return code of a Lazarus application? I
have done some searching but haven't found it.
IIRC, I think it's halt.
There might be a fancy lazarus way of doing it (have a look at the
application object...)
If halt (with a parameter) is called, are there any bits of normal
termination that get skipped? I use it during startup if there's some
obvious problem (e.g. a socket can't be created) but I was wondering a
few days ago how best to set a result during routine shutdown.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus