Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

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.