Table of contents :
Object Pascal Language Guide……Page 1
Contents……Page 3
Tables……Page 7
Using Object Pascal……Page 9
Other sources of information……Page 10
Software registration and technical support……Page 11
Part I: Basic language description……Page 13
Pascal source files……Page 15
Other files used to build applications……Page 16
A simple console application……Page 17
A more complicated example……Page 18
A native application……Page 19
Program structure and syntax……Page 23
The block……Page 24
The unit heading……Page 25
The initialization section……Page 26
Unit references and the uses clause……Page 27
Multiple and indirect unit references……Page 28
Circular unit references……Page 29
Fundamental syntactic elements……Page 31
Qualified identifiers……Page 32
Directives……Page 33
Character strings……Page 34
Expressions……Page 35
Arithmetic operators……Page 36
Boolean operators……Page 37
Logical (bitwise) operators……Page 38
Pointer operators……Page 39
Relational operators……Page 40
Class operators……Page 41
Operator precedence rules……Page 42
Set constructors……Page 43
Value typecasts……Page 44
Variable typecasts……Page 45
Declarations……Page 46
Assignment statements……Page 47
Goto statements……Page 48
Structured statements……Page 49
With statements……Page 50
If statements……Page 52
Case statements……Page 53
While statements……Page 55
For statements……Page 56
Blocks……Page 57
Scope……Page 58
Naming conflicts……Page 59
About types……Page 61
Ordinal types……Page 62
Integer types……Page 63
Boolean types……Page 65
Enumerated types……Page 66
Subrange types……Page 68
Real types……Page 69
String types……Page 70
Long strings……Page 72
Working with null-terminated strings……Page 73
Using pointers, arrays, and string constants……Page 74
Mixing Pascal strings and null-terminated strings……Page 75
Structured types……Page 76
Sets……Page 77
Static arrays……Page 78
Dynamic arrays……Page 79
Records……Page 81
Variant parts in records……Page 82
File types……Page 84
Overview of pointers……Page 85
Other standard pointer types……Page 87
Procedural types……Page 88
Procedural types in statements and expressions……Page 89
Variant types……Page 90
Variant type conversions……Page 91
Variant arrays……Page 93
Type identity……Page 94
Assignment-compatibility……Page 95
Declaring types……Page 96
Declaring variables……Page 97
Thread-local variables……Page 98
True constants……Page 99
Resource strings……Page 101
Typed constants……Page 102
Record constants……Page 103
Pointer constants……Page 104
Declaring procedures and functions……Page 107
Procedure declarations……Page 108
Function declarations……Page 109
Calling conventions……Page 110
Forward and interface declarations……Page 111
Linking to object files……Page 112
Importing functions from libraries……Page 113
Overloading procedures and functions……Page 114
Nested routines……Page 116
Parameter semantics……Page 117
Value and variable parameters……Page 118
Out parameters……Page 119
Untyped parameters……Page 120
Open array parameters……Page 121
Variant open array parameters……Page 122
Default parameters……Page 123
Default parameters and overloaded routines……Page 124
Open array constructors……Page 125
7: Classes and objects……Page 127
Class types……Page 128
Compatibility of class types……Page 129
Visibility of class members……Page 130
Published members……Page 131
Forward declarations and mutually dependent classes……Page 132
Fields……Page 133
Method declarations and implementations……Page 134
Self……Page 135
Virtual and dynamic methods……Page 136
Overloading methods……Page 138
Constructors……Page 139
Destructors……Page 140
Message methods……Page 141
Message dispatching……Page 142
Property access……Page 143
Array properties……Page 145
Index specifiers……Page 146
Storage specifiers……Page 147
Property overrides and redeclarations……Page 148
Class-reference types……Page 149
The is operator……Page 150
Class methods……Page 151
When to use exceptions……Page 152
Raising and handling exceptions……Page 153
Try…except statements……Page 154
Re-raising exceptions……Page 156
Try…finally statements……Page 157
Standard exception classes and routines……Page 158
File input and output……Page 159
Text files……Page 161
Text-file device drivers……Page 162
The InOut function……Page 163
Handling null-terminated strings……Page 164
Other standard routines……Page 165
Part II: Special topics……Page 169
Static loading……Page 171
Dynamic loading……Page 172
Writing dynamically loadable libraries……Page 173
Library initialization code……Page 175
Libraries and system variables……Page 176
Exceptions and runtime errors in libraries……Page 177
Packages……Page 178
Package declarations and source files……Page 179
The contains clause……Page 180
Package-specific compiler directives……Page 181
Package-specific command-line compiler switches……Page 182
Interface types……Page 183
IInterface and inheritance……Page 184
Calling conventions for interfaces……Page 185
Implementing interfaces……Page 186
Method resolution clauses……Page 187
Implementing interfaces by delegation……Page 188
Delegating to a class-type property……Page 189
Interface references……Page 190
Interface assignment-compatibility……Page 191
Dispatch interface types (Windows only)……Page 192
Accessing Automation objects (Windows only)……Page 193
Automation object method-call syntax……Page 194
Dual interfaces (Windows only)……Page 195
The memory manager (Windows only)……Page 197
Internal data formats……Page 198
Enumerated types……Page 199
The Single type……Page 200
Short string types……Page 201
Wide string types……Page 202
Dynamic array types……Page 203
File types……Page 204
Class types……Page 206
Variant types……Page 207
Parameter passing……Page 209
Method calls……Page 211
Exit procedures……Page 212
The asm statement……Page 215
Instruction opcodes……Page 216
Assembler directives……Page 217
Operands……Page 221
Differences between Object Pascal and assembler expressions……Page 222
Constants……Page 223
Registers……Page 224
Symbols……Page 225
Expression classes……Page 226
Expression types……Page 228
Expression operators……Page 229
Assembler procedures and functions……Page 231
A: Object Pascal grammar……Page 233
Index……Page 239
Borland – Object Pascal Language Guide
Free Download
Direct Download: Coming soon..
Download link:
Category: Computers , Programming
Tags: >>Borland Delphi / CodeGear Delphi, Библиотека, Компьютерная литератураSign in to view hidden content.
Be the first to review “Borland – Object Pascal Language Guide” Cancel reply
You must be logged in to post a review.
Related products
- Computers , Algorithms and Data Structures
More programming pearls: confessions of a coder
Free Download
Reviews
There are no reviews yet.