Delphi XE2 Foundations
Home
About the author
Editions
Errata
FAQ
Feedback
Screenshots
Table of contents Chapter 1 – Language basics Chapter 2 – Simple types: enumerations, numbers and date/times Chapter 3 – OOP fundamentals Chapter 4 – Going further with classes and records Chapter 5 – String handling Chapter 6 – Arrays, collections and enumerators Chapter 7 – Basic I/O: writing console applications and working with the file system Chapter 8 – Advanced I/O: streams Chapter 9 – ZIP, XML, Registry and INI file support Chapter 10 – Packages Chapter 11 – Dynamic typing and expressions Chapter 12 – Runtime type information (RTTI) Chapter 13 – Working with native APIs Chapter 14 – Writing and using dynamic libraries Chapter 15 – Multithreading
Chapter 1 – Language basics
Chapter 2 – Simple types: enumerations, numbers and date/times
Chapter 3 – OOP fundamentals
Chapter 4 – Going further with classes and records
Chapter 5 – String handling
Chapter 6 – Arrays, collections and enumerators
Chapter 7 – Basic I/O: writing console applications and working with the file system
Chapter 8 – Advanced I/O: streams
Chapter 9 – ZIP, XML, Registry and INI file support
Chapter 10 – Packages
Chapter 11 – Dynamic typing and expressions
Chapter 12 – Runtime type information (RTTI)
Chapter 13 – Working with native APIs
Chapter 14 – Writing and using dynamic libraries
Chapter 15 – Multithreading
Enumerated type basics Ordinal type standard routines Enumerated type scoping Converting to/from raw ordinal values Converting to/from string values
Adding and removing items from a set Enumerating and testing set membership Manual ‘sets’: bitwise operators
Integer types Integer literals Integer operators and intrinsic routines Commonly-used integer functions Converting from an integer to a string Converting from a string to an integer Sub-range types Range and overflow checking
Legacy vs. non-legacy types Floating point literals The Currency type Special floating point values Dealing with imprecision Performance vs. precision: 32 bit vs. 64 bit compilation Cracking open a floating point value Mathematical routines Statistical functions Trigonometric functions Logarithmic and financial functions Converting from strings Converting to strings
The TDateTime time Useful constants for units of time Getting and amending TDateTime values (Now, Date, Time, EncodeXXX, XXXOf etc.) Converting TDateTime values to strings Converting from a string to a TDateTime (StrToXXX, TryStrToXXX) Using customised localisation settings (TFormatSettings record) Converting to and from other date/time formats Working with the local time zone and UTC/GMT (TTimeZone) Working with time periods (TTimeSpan) Constructing a TTimeSpan object TTimeSpan manipulation Timing things (TStopwatch) TStopwatch accuracy
Conversion families System.ConvUtils helper functions