Delphi Quick Syntax Reference: A Pocket Guide to the Delphi and Object Pascal Language
()
About this ebook
It covers all the new features added by Embarcadero during the last few years. Delphi celebrates 25 years in 2020 and, alongside the free community version that was introduced a couple of years ago, this syntax guide is a great way to get into the language.
What You Will Learn
- Quickly use and learn Delphi
- Compile, build and run a Delphi program
- Master Delphi strings, variables, constants, and operators and how to apply them
- Use conditions, loops, procedures, and functions in Delphi
- Apply object-oriented programming in Delphi
Returning or current Delphi developers: The book is a resource for reference for this group of developers especially for the new features that were introduced in the language over the last couple of years. Newcomers to the language: These developers will learn the fundamentals of the language in a very condensed and effective text that accelerates learning.
Related to Delphi Quick Syntax Reference
Related ebooks
Delphi Pascal Programming: Efficient Code Editing, Visual Designing, And Integrated Debugging Rating: 0 out of 5 stars0 ratingsGetting Started with the Lazarus IDE Rating: 0 out of 5 stars0 ratingsJava 17 Quick Syntax Reference: A Pocket Guide to the Java SE Language, APIs, and Library Rating: 0 out of 5 stars0 ratingsMastering Swift Package Manager: Build and Test Modular Apps Using Xcode Rating: 0 out of 5 stars0 ratingsBeginning Perl Rating: 4 out of 5 stars4/5Learn Kotlin for Android Development: The Next Generation Language for Modern Android Apps Programming Rating: 0 out of 5 stars0 ratingsVHDL 101: Everything you Need to Know to Get Started Rating: 3 out of 5 stars3/5Living with Linux in the Industrial World Rating: 0 out of 5 stars0 ratingsWeb Applications with Elm: Functional Programming for the Web Rating: 0 out of 5 stars0 ratingsDesign Patterns in .NET: Reusable Approaches in C# and F# for Object-Oriented Software Design Rating: 0 out of 5 stars0 ratingsHow to Learn PHP, MySQL and Javascript Quickly!: For Dummies Rating: 5 out of 5 stars5/5C Clearly - Programming With C In Linux and On Raspberry Pi Rating: 0 out of 5 stars0 ratingsProgramming in D Rating: 0 out of 5 stars0 ratingsC++20 Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library Rating: 0 out of 5 stars0 ratingsBeginning Swift Programming Rating: 0 out of 5 stars0 ratingsExpert Delphi Rating: 5 out of 5 stars5/5Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core Rating: 0 out of 5 stars0 ratingsProfessional Swift Rating: 0 out of 5 stars0 ratingsA Developer’s Guide to the Semantic Web Rating: 5 out of 5 stars5/5Learn Java for Android Development: Migrating Java SE Programming Skills to Mobile Development Rating: 0 out of 5 stars0 ratingsiOS Programming Nuts and bolts Rating: 4 out of 5 stars4/5Swift Programming Nuts and bolts Rating: 0 out of 5 stars0 ratingsLearning F# Functional Data Structures and Algorithms Rating: 0 out of 5 stars0 ratingsLearn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem (English Edition) Rating: 0 out of 5 stars0 ratingsIntroduction to Programming Languages Rating: 4 out of 5 stars4/5C#-Visual Basic Bilingual Dictionary : Visual Studio 2015 Edition Rating: 3 out of 5 stars3/5TCP/IP Sockets in C: Practical Guide for Programmers Rating: 4 out of 5 stars4/5Domain-Specific Languages in R: Advanced Statistical Programming Rating: 0 out of 5 stars0 ratings
Programming For You
Python: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5HTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5Java for Beginners: A Crash Course to Learn Java Programming in 1 Week Rating: 5 out of 5 stars5/5SQL: For Beginners: Your Guide To Easily Learn SQL Programming in 7 Days Rating: 5 out of 5 stars5/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Python Machine Learning By Example Rating: 4 out of 5 stars4/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5Learn SQL in 24 Hours Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Pokemon Go: Guide + 20 Tips and Tricks You Must Read Hints, Tricks, Tips, Secrets, Android, iOS Rating: 5 out of 5 stars5/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Modern C++ for Absolute Beginners: A Friendly Introduction to C++ Programming Language and C++11 to C++20 Standards Rating: 0 out of 5 stars0 ratingsWeb Designer's Idea Book, Volume 4: Inspiration from the Best Web Design Trends, Themes and Styles Rating: 4 out of 5 stars4/5101 Amazing Nintendo NES Facts: Includes facts about the Famicom Rating: 4 out of 5 stars4/5OneNote: The Ultimate Guide on How to Use Microsoft OneNote for Getting Things Done Rating: 1 out of 5 stars1/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratings
Reviews for Delphi Quick Syntax Reference
0 ratings0 reviews
Book preview
Delphi Quick Syntax Reference - John Kouraklis
© John Kouraklis 2020
J. KouraklisDelphi Quick Syntax Referencehttps://doi.org/10.1007/978-1-4842-6112-5_1
1. Delphi Pascal
John Kouraklis¹
(1)
London, UK
Delphi Pascal or, simply, Delphi is the most popular version of Object Pascal which, in turn, is an extension of the classic Pascal programming language (Cantu, 2016). This chapter introduces the basic concepts of the language.
Delphi As a Programming Language
Delphi is a general-purpose programming language. As a Pascal descendent, it draws its strong typing and syntactical characteristics from the original Pascal language developed by Niklaus Wirth in the early 1970s, but it, loosely, relates to the ISO standard Pascal (i.e., it is not a superset). Over the past decades, Delphi has evolved, and now it has features that makes it a modern programming language capable of building professional software in multiple platforms.
Syntax
If you look at Delphi source code, you will notice that it is dominated by words rather than symbols. Code appears inside a begin...end block rather than inside symbols like curly brackets ({..}) as in other languages.
Typically, code flows from top to bottom and from left to right. This implies that variables, objects, constants, and other elements need first to be declared before they are used (with the exception of forward declaration of classes).
Delphi is case insensitive, meaning that coding elements like variables, objects, methods, and the like can be declared in small or capital letters or in a combination of both. For example, the following declarations are all valid in Delphi: delphiBook, delphi_Book, DelphiBook, DELPHIBOOK, delphiBOOK. There are naming rules which prohibit the use of specific characters (e.g., an identifier cannot start with a number, etc.), but the limitations are very few, and, practically, when you code in Delphi, it is not common to come across them.
A notable difference with other languages is the operator to assign values to variables. In Delphi, a colon followed by the equal sign (:=) is used for this purpose, and the simple equal sign (=) is used to test equality in