Name

$AppType Compiler Directive

Syntax

{$AppType GUI}      // default
{$AppType Console}

Scope

Project

Description

The $AppType compiler directive tells the linker to create a GUI or console application. In a console application, Delphi opens the Input and Output files to read from and write to the console. When compiling a console application, Delphi defines the CONSOLE conditional symbol in all units that make up the project. The default is a GUI application.

See Also

Input Variable, IsConsole Variable, Output Variable, Program Keyword
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset