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.
Project: Console Application Runner Classes
Unit: PJConsoleApp
Classes: TPJCustomConsoleApp, TPJConsoleApp
Applies to: ~>3.0
property ExitCode: LongWord;
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.
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.