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 ...