Home Page Icon
Home Page
Table of Contents for
$W Compiler Directive
Close
$W Compiler Directive
by Ray Lischner
Delphi in a Nutshell
A Note Regarding Supplemental Files
Preface
Not Your Father’s Pascal
Delphi for Linux
About This Book
Conventions Used in This Book
Note Icons
For More Information
How to Contact Us
Acknowledgments
1. Delphi Pascal
Units
Forms and Files
Separating Interface from Implementation
Initializing and Finalizing
The System and SysInit Units
Programs
Libraries
Using Dynamic Memory
Sharing Objects
Setting the Image Base
Packages
Design-Time Versus Runtime
Building a Package
Data Types
Integer Types
Real Types
Arrays
Dynamic arrays
Open arrays
Type variant open arrays
Strings
String literals
Mixing string types
Unicode and multibyte strings
Boolean Types
Variants
Pointers
Function and Method Pointers
Type Declarations
Variables and Constants
Typed Constants
Thread Variables
Exception Handling
File I/O
Functions and Procedures
Overloading
Default Parameters
Result Variable
2. The Delphi Object Model
Classes and Objects
Classes
Objects
Inheritance
Fields
Methods
Constructors
Calling a constructor
Virtual methods and constructors
Destructors
Object Life Cycle
Access Levels
Properties
Array properties
Indexed properties
Default values
Using properties
Class-type properties
Interfaces
Reference counting
Typecasting
Interfaces and object-oriented programming
COM and Corba
Reference Counting
Messages
Memory Management
Memory and DLLs
Old-Style Object Types
3. Runtime Type Information
Virtual Method Table
Published Declarations
Published Methods
Published Fields and Field Types
Published Properties
The TypInfo Unit
Type Data
Published Properties
Virtual and Dynamic Methods
Initialization and Finalization
Automated Methods
Interfaces
Exploring RTTI
4. Concurrent Programming
Threads and Processes
Scheduling and States
Synchronizing Threads
Critical sections
Multiple simultaneous readers
Exceptions
Deadlock
Multithreaded Programming
The TThread Class
The BeginThread and EndThread Functions
Thread Local Storage
Processes
Futures
5. Language Reference
Abs Function
Absolute Directive
Abstract Directive
AbstractErrorProc Variable
AddModuleUnloadProc Procedure
Addr Function
AllocMemCount Variable
AllocMemSize Variable
And Keyword
AnsiChar Type
AnsiString Type
Append Procedure
ArcTan Function
Array Keyword
As Keyword
Asm Keyword
Assembler Directive
Assert Procedure
AssertErrorProc Variable
Assign Procedure
Assigned Function
AssignFile Procedure
At Directive
Automated Directive
Begin Keyword
BeginThread Function
BlockRead Procedure
BlockWrite Procedure
Boolean Type
Break Procedure
Byte Type
ByteBool Type
Cardinal Type
Case Keyword
CDecl Directive
ChangeAnyProc Variable
Char Type
ChDir Procedure
Chr Function
Class Keyword
ClearAnyProc Variable
Close Procedure
CloseFile Procedure
CmdLine Variable
CmdShow Variable
Comp Type
CompToCurrency Function
CompToDouble Function
Concat Function
Const Keyword
Constructor Keyword
Contains Directive
Continue Procedure
Copy Function
Cos Function
Currency Type
CurrencyToComp Procedure
DataMark Variable
DebugHook Variable
Dec Procedure
Default Directive
Default8087CW Variable
Delete Procedure
Destructor Keyword
DispCallByIDProc Variable
Dispid Directive
Dispinterface Keyword
Dispose Procedure
Div Keyword
DllProc Variable
Do Keyword
Double Type
DoubleToComp Procedure
Downto Keyword
Dynamic Directive
Else Keyword
EmptyParam Variable
End Keyword
EnumModules Procedure
EnumResourceModules Procedure
Eof Function
Eoln Function
Erase Procedure
ErrorAddr Variable
ErrorProc Variable
Except Keyword
ExceptClsProc Variable
ExceptionClass Variable
ExceptObjProc Variable
ExceptProc Variable
Exclude Procedure
Exit Procedure
ExitCode Variable
ExitProc Variable
Exp Function
Export Directive
Exports Keyword
Extended Type
External Directive
Far Directive
File Keyword
FileMode Variable
FilePos Function
FileSize Function
FillChar Procedure
Finalization Keyword
Finalize Procedure
Finally Keyword
FindClassHInstance Function
FindHInstance Function
FindResourceHInstance Function
Flush Procedure
For Keyword
Forward Directive
Frac Function
FreeMem Procedure
FreeMemory Function
Function Keyword
GetDir Function
GetHeapStatus Function
GetMem Procedure
GetMemory Function
GetMemoryManager Procedure
GetPackageInfoTable Type
Goto Keyword
Halt Procedure
HeapAllocFlags Variable
Hi Function
High Function
HInstance Variable
HPrevInst Variable
HResult Type
IDispatch Interface
If Keyword
Implementation Keyword
Implements Directive
In Keyword
Inc Procedure
Include Procedure
Index Directive
Inherited Keyword
Initialization Keyword
Initialize Procedure
InitProc Variable
Inline Keyword
Input Variable
Insert Procedure
Int Function
Int64 Type
Integer Type
Interface Keyword
IOResult Function
Is Keyword
IsConsole Variable
IsLibrary Variable
IsMemoryManagerSet Function
IsMultiThread Variable
IUnknown Interface
JITEnable Variable
Label Keyword
Length Function
LibModuleList Variable
Library Keyword
Ln Function
Lo Function
LoadResourceModule Function
LoadResString Function
LongBool Type
LongInt Type
LongWord Type
Low Function
MainInstance Variable
MainThreadID Variable
MaxInt Constant
MaxLongInt Constant
Message Directive
MkDir Procedure
Mod Keyword
ModuleIsCpp Variable
ModuleIsLib Variable
ModuleIsPackage Variable
ModuleUnloadList Variable
Move Procedure
Name Directive
Near Directive
New Procedure
Nil Keyword
Nodefault Directive
NoErrMsg Variable
Not Keyword
Null Variable
Object Keyword
Odd Function
Of Keyword
OleStrToString Function
OleStrToStrVar Procedure
OleVariant Type
On Directive
OpenString Type
Or Keyword
Ord Function
Out Directive
Output Variable
Overload Directive
Override Directive
Package Directive
PackageInfo Type
PackageInfoTable Type
PackageUnitEntry Type
Packed Keyword
PAnsiChar Type
PAnsiString Type
ParamCount Function
ParamStr Function
Pascal Directive
PChar Type
PCurrency Type
PDateTime Type
PExtended Type
PGUID Type
Pi Function
PInt64 Type
PInterfaceEntry Type
PInterfaceTable Type
PLibModule Type
PMemoryManager Type
PModuleUnloadRec Type
Pointer Type
POleVariant Type
Pos Function
Pred Function
PResStringRec Type
Private Directive
Procedure Keyword
Program Keyword
Property Keyword
Protected Directive
PShortString Type
PString Type
Ptr Function
Public Directive
Published Directive
PUnitEntryTable Type
PVarArray Type
PVarData Type
PVariant Type
PVarRec Type
PWideChar Type
PWideString Type
Raise Keyword
RaiseList Function
Random Function
Randomize Procedure
RandSeed Variable
Read Directive
Read Procedure
ReadLn Procedure
Readonly Directive
Real Type
Real48 Type
ReallocMem Procedure
ReallocMemory Function
Record Keyword
RefAnyProc Variable
Register Directive
Register Procedure
RegisterModule Procedure
Reintroduce Directive
RemoveModuleUnloadProc Procedure
Rename Procedure
Repeat Keyword
Requires Directive
Reset Procedure
Resident Directive
Resourcestring Keyword
Result Variable
Rewrite Procedure
RmDir Procedure
Round Function
RunError Procedure
SafeCall Directive
SafeCallErrorProc Variable
Seek Procedure
SeekEof Function
SeekEoln Function
Self Variable
Set Keyword
Set8087CW Procedure
SetInOutRes Procedure
SetLength Procedure
SetMemoryManager Procedure
SetRaiseList Function
SetString Procedure
SetTextBuf Procedure
Shl Keyword
ShortInt Type
ShortString Type
Shr Keyword
Sin Function
Single Type
SizeOf Function
Slice Function
SmallInt Type
Sqr Function
Sqrt Function
StdCall Directive
Stored Directive
Str Procedure
String Keyword
StringOfChar Function
StringToOleStr Function
StringToWideChar Function
Succ Function
Swap Function
SysFreeMem Function
SysGetMem Function
SysReallocMem Function
TClass Type
TDateTime Type
TEnumModuleFuncLW Type
Test8086 Variable
Test8087 Variable
TestFDIV Variable
Text Type
TextFile Type
TGUID Type
THeapStatus Type
Then Keyword
Threadvar Keyword
TInterfacedClass Type
TInterfacedObject Type
TInterfaceEntry Type
TInterfaceTable Type
TLibModule Type
TlsIndex Variable
TlsLast Variable
TMemoryManager Type
TModuleUnloadProcLW Type
TModuleUnloadRec Type
To Keyword
TObject Type
TResStringRec Type
Trunc Function
Truncate Procedure
Try Keyword
TThreadFunc Type
TVarArray Type
TVarArrayBound Type
TVarData Type
TVarRec Type
Type Keyword
TypeInfo Function
Unassigned Variable
UniqueString Procedure
Unit Keyword
UnitEntryTable Type
UnregisterModule Procedure
Until Keyword
UpCase Function
Uses Keyword
Val Procedure
Var Keyword
VarArrayCreate Function
VarArrayDimCount Function
VarArrayHighBound Function
VarArrayLock Function
VarArrayLowBound Function
VarArrayOf Function
VarArrayRedim Procedure
VarArrayRef Function
VarArrayUnlock Procedure
VarAsType Function
VarCast Procedure
VarClear Procedure
VarCopy Procedure
VarDispProc Variable
VarFromDateTime Function
Variant Type
VarIsArray Function
VarIsEmpty Function
VarIsNull Function
VarToDateTime Function
VarToStr Function
VarType Function
Virtual Directive
While Keyword
WideChar Type
WideCharLenToString Function
WideCharLenToStrVar Procedure
WideCharToString Function
WideCharToStrVar Procedure
WideString Type
With Keyword
Word Type
WordBool Type
Write Directive
Write Procedure
WriteLn Procedure
Writeonly Directive
Xor Keyword
6. System Constants
Variant Type Codes
Open Array Types
Virtual Method Table Offsets
Runtime Error Codes
7. Operators
Unary Operators
Multiplicative Operators
Additive Operators
Comparison Operators
8. Compiler Directives
$A Compiler Directive
$Align Compiler Directive
$AppType Compiler Directive
$Assertions Compiler Directive
$B Compiler Directive
$BoolEval Compiler Directive
$C Compiler Directive
$D Compiler Directive
$DebugInfo Compiler Directive
$Define Compiler Directive
$DefinitionInfo Compiler Directive
$DenyPackageUnit Compiler Directive
$Description Compiler Directive
$DesignOnly Compiler Directive
$E Compiler Directive
$Else Compiler Directive
$EndIf Compiler Directive
$ExtendedSyntax Compiler Directive
$ExternalSym Compiler Directive
$G Compiler Directive
$H Compiler Directive
$Hints Compiler Directive
$HppEmit Compiler Directive
$I Compiler Directive
$IfDef Compiler Directive
$IfNDef Compiler Directive
$IfOpt Compiler Directive
$ImageBase Compiler Directive
$ImplicitBuild Compiler Directive
$ImportedData Compiler Directive
$Include Compiler Directive
$IOChecks Compiler Directive
$J Compiler Directive
$L Compiler Directive
$Link Compiler Directive
$LocalSymbols Compiler Directive
$LongStrings Compiler Directive
$M Compiler Directive
$MaxStackSize Compiler Directive
$MinEnumSize Compiler Directive
$MinStackSize Compiler Directive
$NoDefine Compiler Directive
$NoInclude Compiler Directive
$O Compiler Directive
$ObjExportAll Compiler Directive
$OpenStrings Compiler Directive
$Optimization Compiler Directive
$OverflowChecks Compiler Directive
$P Compiler Directive
$Q Compiler Directive
$R Compiler Directive
$RangeChecks Compiler Directive
$RealCompatibility Compiler Directive
$ReferenceInfo Compiler Directive
$Resource Compiler Directive
$RunOnly Compiler Directive
$SafeDivide Compiler Directive
$StackFrames Compiler Directive
$T Compiler Directive
$TypedAddress Compiler Directive
$TypeInfo Compiler Directive
$U
$Undef Compiler Directive
$V Compiler Directive
$VarStringChecks Compiler Directive
$W Compiler Directive
$Warnings Compiler Directive
$WeakPackageUnit Compiler Directive
$WriteableConst Compiler Directive
$X Compiler Directive
$Y Compiler Directive
$Z Compiler Directive
A. Command-Line Tools
Compiler, dcc32.exe
Resource Compiler, brcc32.exe
DFM Converter, convert.exe
Object File Dumper, tdump.exe
IDE, delphi32.exe
B. The SysUtils Unit
Errors and Exceptions
Exception Classes
Error-Handling Support
File Management
File Input and Output
Managing Files
Managing Directories
Managing Disks
Managing Filenames
String Management
ANSI String Functions
PChar Functions
Obsolete String Subroutines
Numeric Conversion
Dates and Times
Localization
Modules
Windows
Miscellaneous
Index
About the Author
Copyright
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
$VarStringChecks Compiler Directive
Next
Next Chapter
$Warnings Compiler Directive
Name
$W Compiler Directive
See
$StackFrames Compiler Directive
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset