DosExitCode (function) (Dos unit)

Language:
Русский
English

 DosExitCode (function)     (Dos unit)


Returns the exit code of a subprocess.

Declaration

 function DosExitCode: Word;

Target

Real, Protected

Remarks

The low byte is the code sent by the terminating process.

The high byte is set as follows:

 Termination     High
 Type            Byte
 Normal           0
 Ctrl-C           1
 Device error     2
 Keep procedure   3

See Also

 Exec
 Keep

Sample Code

Тэги: DosExitCode
| G+
Код для вставки: :: :: :: ::
Поделиться: // //