O'Reilly logo

Expert Delphi by Paweł Głowacki

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Console application

The simplest possible type of program that can be written in Delphi is a console application. It does not contain any graphical user interface. Console programs can be executed from the command prompt and can optionally take command-line parameters. A console application may output some text back to the command line, perform some calculations, process files, or communicate with remote services running somewhere on the internet.

Let's create a simple Delphi console app. It will be an interactive program that will take our name from the command line and will display a greeting. In the File menu, select New and Other. In the New Items window, make sure that the Delphi Projects node is selected, and double-click on the Console ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required