Quick start manual
vi
Exceptions and runtime 
errors in libraries  . . . . . . . . . . . . . .  .  9-9
Shared-memory manager 
(Windows only) . . .  . . . . .  . . . . . . . . 9-9
Packages  . . . . . . . . .  . . . . .  . . . . . . . .9-10
Package declarations and source files . . .  . 9-10
Naming packages. . . . . .  . . . . . . . . 9-11
The requires clause . . . . . . . . . . . .  .9-12
The contains clause . . . . .  . . . . . . . .9-12
Compiling packages . . . . . . .  . . . . .  . . 9-13
Generated files  . . . . . . . . . . . . . .  . 9-13
Package-specific compiler 
directives. . . . .  . . . . .  . . . . . . . .9-13
Package-specific command-line 
compiler switches . . . . . .  . . . . .  . .9-14
Chapter 10
Object interfaces 10-1
Interface types . . . . . .  . . . . .  . . . . . . . .10-1
IInterface and inheritance . . .  . . . . . . . .10-2
Interface identification . . . . . .  . . . . . . .10-3
Calling conventions for interfaces . . . . .  . 10-3
Interface properties. .  . . . . .  . . . . . . . .10-4
Forward declarations  . . . . . .  . . . . .  . .10-4
Implementing interfaces  . . . . . .  . . . . .  . .10-4
Method resolution clauses. . .  . . . . . . . .10-5
Changing inherited implementations . . .  . 10-6
Implementing interfaces by delegation . . .10-7
Delegating to an 
interface-type property. . . . . . . . .  . 10-7
Delegating to a class-type property. .  . .10-8
Interface references  . . . . . . . . . . . . . .  . . 10-9
Interface assignment-compatibility. . . . . 10-10
Interface typecasts  . . . . . . .  . . . . . . . 10-10
Interface querying   . . . . .  . . . . . . . 10-10
Automation objects (Windows only) . . . . .  10-11
Dispatch interface types 
(Windows only) . . .  . . . . .  . . . . . . .  10-11
Dispatch interface methods 
(Windows only) .  . . . . .  . . . . . . .  10-11
Dispatch interface properties  . . . . .  .  10-12
Accessing Automation objects 
(Windows only) . . .  . . . . .  . . . . . . . 10-12
Automation object 
method-call syntax  . . . .  . . . . . . . 10-12
Dual interfaces (Windows only) . . . . . . 10-13
Chapter 11
Memory management 11-1
The memory manager (Windows only)  . . . . 11-1
Variables . . . . . . . . . .  . . . . .  . . . . . 11-2
Internal data formats . . . . . . . . . . . . . . . 11-3
Integer types . .  . . . . .  . . . . . . . . . . . 11-3
Character types . . . . . . . . . . . . . . . . 11-3
Boolean types . . . . . . .  . . . . .  . . . . . 11-3
Enumerated types . . . . . . . . . . . . . . . 11-3
Real types  . .  . . . . . . . . . . . . . . . . . 11-4
The Real48 type . . .  . . . . . . . . . . . 11-4
The Single type. . . . . . . . . .  . . . . . 11-4
The Double type . . . . . . . . .  . . . . . 11-5
The Extended type. . .  . . . . .  . . . . . 11-5
The Comp type. . . . .  . . . . .  . . . . . 11-5
The Currency type . . . . . . . . . . . . . 11-5
Pointer types . .  . . . . .  . . . . . . . . . . . 11-5
Short string types  . . . . . . . . . . . . . . . 11-5
Long string types . . . .  . . . . . . . . . . . 11-6
Wide string types (Windows) . . . . . . . . 11-6
Set types . . . . . . . . . .  . . . . .  . . . . . 11-7
Static array types . . . .  . . . . . . . . . . . 11-7
Dynamic array types . .  . . . . . . . . . . . 11-7
Record types . . . . . . . . . . . . . . . . . . 11-8
File types . . . . . . . . . . . . . . . . . . . . 11-9
Procedural types. . . . .  . . . . . . . . . . .11-10
Class types . . .  . . . . .  . . . . . . . . . . .11-10
Class reference types . . .  . . . . .  . . . . .11-11
Variant types .  . . . . . . . . . . . . . . . . .11-12
Chapter 12
Program control 12-1
Parameters and function results. . . . . . . . .  12-1
Parameter passing. . . . .  . . . . .  . . . . . 12-1
Register saving conventions . .  . . . . . 12-3
Function results  . . . . .  . . . . . . . . . . . 12-3
Method calls . . . . . . . .  . . . . .  . . . . . 12-4
Constructors and destructors. . . . . . . 12-4
Exit procedures  . . . . . . . . . . . . . . . . . .  12-5










