System.Halt

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From System.pas

	procedure Halt overload;
 
	procedure Halt(ExitCode: Integer); overload;


Unit: System

Type: procedure

Visibility: public

Description

Initiates the abnormal termination of a program.


Halt performs an abnormal termination of a program and returns to the operating system.

To perform a normal termination of a Delphi application, call the Terminate method on the global Application object. If the application does not use a unit that provides an Application object, call the Exit procedure from the main Program block.

Exitcode is an optional expression that specifies an exit code for the program.

See Also

Code Samples


Personal tools
Translations
Newest Version