Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Getting Started with Lazarus IDE

You're reading from  Getting Started with Lazarus IDE

Product type Book
Published in Feb 2013
Publisher Packt
ISBN-13 9781782163404
Pages 116 pages
Edition 1st Edition
Languages
Author (1):
Roderick Person Roderick Person
Profile icon Roderick Person

Hello World console application version


When Lazarus is started, it will either show the last opened project or start with a new GUI application. Select New Project. When the New Project dialog appears, select Console application. Click on the OK button. The New console application dialog is now visible. First, rename the application to THelloConsoleApplication from default TMyApplication in the Application class name textbox. Next, change default Title from My Application to Hello World. Leave all the rest of the settings to default. Now, the New console application dialog should look like the following screenshot (leave the rest of the defaults as they are, and click on the OK button):

The Source Editor window will appear with the auto-generated code for a console application. Let's examine some of the auto-generated code before we go any further.

This first section of the auto-generated code shows the program directive. Here, it is Project1; since the project has not been saved yet, this...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}