Forum > Beginners
EXITCODE/ERRORCODE
(1/1)
Andy Anderson:
I want to do something like:
TRY
------(some code)-------
Finally
WRITELN (EXITCODE) //or ERRORCODE
end;
How do I access the EXIT/ERRORCODE ?
What declarations (units) are needed ?
Thanks in advance.
Mike.Cornflake:
Errr... I'm not fully misunderstanding your question... Depends what your code in ------(some code)------- is calling I guess.
Rails:
http://www.freepascal.org/docs-html/ref/refch17.html#x211-22100017
contains information on exception handling, including error codes. This should give you some place to start.
Navigation
[0] Message Index