jonas.maebe at elis.ugent.be
Sun Dec 28 18:59:09 CET 2008
On 28 Dec 2008, at 18:16, Rainer Stratmann wrote:
> Where is the earliest position to set the exitcode?
What do you mean with "position"?
> Which exitcode does the program generate if an error occurs?
Depends on the error. It's the same as the run time error number for
that fault, see http://www.freepascal.org/docs-html/user/userap4.html
> For example a seg fault.
214 or 216, depending on the operating system and the kind of
"segfault" (some report them as bus errors, some as segmentation
faults). It seems however that it's not documented that run time error
214 can also mean bus error.
More information about the fpc-pascal