RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.IsConsole Variable

Indicates whether the module was compiled as a console application.

Pascal
IsConsole: Boolean;
C++
Boolean IsConsole;

System

The IsConsole variable is true if the module was linked as a console application. This applies both to an executable and a shared library.

Note: On Linux, IsConsole is always true.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!