Book Image

Delphi Cookbook

By : Daniele Teti
Book Image

Delphi Cookbook

By: Daniele Teti

Overview of this book

Table of Contents (14 chapters)
Delphi Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. Become a Delphi Language Ninja

In this chapter, we will cover the following recipes:

  • Fun with anonymous methods – using higher-order functions

  • Writing enumerable types

  • RTTI to the rescue – configuring your class at runtime

  • Duck typing using RTTI

  • Creating helpers for your classes

  • Checking strings with regular expressions