Quoting John Christenhusz <[EMAIL PROTECTED]>:

> Hi folks,
> 
> Can anybody tell me how to get an application to return a (DOS) Return
> Code (number) ?
> E.g. when a sub-application can't find a file, it should pass on the DOS
> Return Code (2) back to the main-program. But also when it fails of any
> sub-application specific issue, it should return its own error code
> (e.g. from number 1000 onwards).

I believe it is 

Halt(x)

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to