1. Computing

Extending Delphi Sets (And Other Simple Types) With Functions and Procedures

By November 27, 2012

Follow me on:

in Delphi Language :: The Understanding Delphi Class (and Record) Helpers introduces a feature of the Delphi language allowing you to extend the definition of a class or a record type by adding functions and procedures (methods) to existing classes and records without inheritance.

In XE3 Delphi version, record helpers became more powerful by allowing to extend simple Delphi types like strings, integers, enums, sets and alike. Here's a sample helper for a set of bytes.

Read the full article to learn how to code a Delphi Record Helper For Set Of [0..255]

Related:

Comments
Comments are closed for this post.
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.