Menu

Post image 1
Post image 2
1 / 2
0

Modern Object Pascal Introduction for Programmers | Castle Game Engine

Hacker News·about 16 hours ago
#LOTGqPKQ
Reading 0:00
15s threshold

Table of Contents 1. Why this book 2. Basics 2.1. "Hello world" program 2.2. Compilers and FPC "syntax modes" 2.3. Functions, procedures, primitive types 2.4. Testing (if) 2.5. Logical, relational and bit-wise operators 2.6. Testing single expression for multiple values (case) 2.7. Enumerated and ordinal types and sets and constant-length arrays 2.8. Loops (for, while, repeat, for .. in) 2.9. Output, logging 2.10. Converting to a string 3. Units 3.1. Overview 3.2. Extensions used for units and programs 3.3. Initialization and finalization 3.4. Units using each other 3.5. Qualifying identifiers with unit name 3.6. Exposing one unit identifiers from another 4. Classes 4.1. Basics 4.2. Inheritance, virtual methods, override, reintroduce 4.3. Classes and class instances, constructors, destructors 4.4. Testing class (is), typecasting (as, TMyClass(X)) 4.5. Properties 4.5.1. Serialization of properties 4.6. Exceptions - Quick Example 4.7. Visibility specifiers 4.8. Default ancestor 4.9. Self 4.10.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More