Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 900 Bytes

TPJCustomConsoleApp-ExitCode.md

File metadata and controls

25 lines (14 loc) · 900 Bytes

ExitCode property

Project: Console Application Runner Classes

Unit: PJConsoleApp

Classes: TPJCustomConsoleApp, TPJConsoleApp

Applies to: ~>3.0

property ExitCode: LongWord;

Description

ExitCode is a read only property that stores the exit code returned by the console application on completion. The value of the property is application dependent.

The value of ExitCode is meaningless if the ErrorCode property is non-zero.

Remarks

Do not confuse ExitCode with ErrorCode which provides information about any problems encountered in actually running the application.

The property is public in TPJConsoleApp and protected in TPJCustomConsoleApp.