John,

I believe that this does not function under NT, but dont quote me on 
it.  What I do know is that they have stuffed up environment handling 
and errorlevel handling.  Probably deliberately to kill dos apps.

On  8 Jun 99 at 15:57, John Christenhusz wrote:

> Hi folks,
> 
> It may look like an easy one, but it isn't.
> 
> My original question was:
> 
> 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).
> 
> One of the reply was 
>  Halt(x)

Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================

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

Reply via email to