The Delphi Quick Syntax Reference is a succinct code and syntax reference guide to Delphi. It presents the fundamental knowledge to get newcomers started with the language and provides a refresher to seasoned or returning Delphi developers.
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
Who This Book Is For
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.
Author(s): John Kouraklis
Publisher: Apress
Year: 2020
Language: English
City: New York, NY
Table of Contents
About the Author
About the Technical Reviewer
Introduction
Chapter 1: Delphi Pascal
Delphi As a Programming Language
Syntax
Programming Paradigms
Compilation to Native Code
Visual Applications
One Code Base for Multiple Platforms
Anatomy of a Delphi Program
Project Files
Units
Forms and Frames
Delphi As Integrated Development Environment (IDE)
A Simple Application (Console)
A Simple Application (Graphical)
Alternative IDEs
Delphi Style Guide
Summary
References
Chapter 2: Basics
Variables
Data Types
Integer
Char
Boolean
Enumerated Types
Subrange
Real
Strings
Sets
Arrays
Records
Pointers
Variant
Generics
Constants
Comments
Summary
References
Chapter 3: Looping, Conditional and Jump Statements
Loops
While Statement
Repeat Statement
For Statement
Conditional Statements
If Statement
Case Statement
Jump Statements
Exit Statement
Break Statement
Continue Statement
Goto Statement
Summary
Chapter 4: Procedures and Functions
Declaration
Parameters
The Nature of Parameters
Classic Parameters
Constant Parameters
Variable Parameters
Out Parameters
Default Values of Parameters
Interrupting the Normal Execution
Nested Methods
Typed Methods
Anonymous Methods
Method Overloading
Summary
References
Chapter 5: Object-Oriented Programming (OOP)
Declaration
Object State (Fields)
Object Functionality (Methods)
Object State (Properties)
Class Members and Methods
Inheritance
Interfaces
Cross-Platform Memory Management
Summary
References
Index