Modern Object Pascal. Introduction for Programmers [2018 ed.]
β Scribed by Michalis Kamburelis
- Publisher
- castle-engine.io
- Year
- 2018
- Tongue
- English
- Leaves
- 96
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Table of Contents
Contents......Page 1
Why......Page 2
"Hello world"......Page 3
Functions, procedures, primitive types......Page 4
IF......Page 6
Logical, relational & bit-wise operators......Page 7
Enumerated & ordinal types & sets & constant-length arrays......Page 9
Loops (for, while, repeat, for .. in)......Page 11
Output, logging......Page 14
Converting to string......Page 15
Units......Page 16
Units using each other......Page 18
Qualifying identifiers with unit name......Page 19
Exposing one unit identifiers from another......Page 21
Inheritance, is, as......Page 23
Properties......Page 26
Exceptions......Page 29
Default ancestor......Page 30
Calling inherited method......Page 31
Virtual methods, override & reintroduce......Page 34
How to free......Page 38
Manual & automatic freeing......Page 39
The virtual destructor called Destroy......Page 42
Free notification......Page 43
IO using Streams......Page 46
Containers (Lists, Dictionaries) using Generics......Page 47
Cloning - TPersistent.Assign......Page 53
Local (nested) routines......Page 57
Callbacks (aka events, aka pointers to functions, aka procedural variables)......Page 58
Generics......Page 61
Preprocessor......Page 63
Records......Page 66
Pointers......Page 68
Operator overloading......Page 69
Private & strict private......Page 72
More stuff inside classes & nested classes......Page 73
Class references......Page 74
Static class methods......Page 77
Class properties & variables......Page 79
Class helpers......Page 80
Exception in constructor......Page 81
Bare (CORBA) interfaces......Page 83
CORBA & COM types of interfaces......Page 85
Interfaces GUIDs......Page 87
Reference-counted (COM) interfaces......Page 88
COM interfaces with reference-counting disabled......Page 90
Typecasting interfaces......Page 92
About......Page 96
π SIMILAR VOLUMES
<p>The material for this book first appeared in the magazine Personal Computer World, as a series of articles which ran from September 1979 to June 1980. It was designed to appeal to a new (in 1979) sort of reader the microcomputer enthusiast, both amateur and professional about whom two assumptions
Many, many of the legendary programmers know many programming languages. What they know from one language helps them write better code in another one. But itβs not really the language that matters: adding knowledge of C# to your knowledge of Java doesnβt make you much better. The languages are too s
C permits programs that have more speed and/or smaller code than Pascal. This book is written for the Pascal programmer who wants to learn the C programming language using microcomputer applications. Each new technique, generally supported by a short program, is listed in Pascal with an equivalent v