The Delphi Geek – This article was originally written for the Blaise Pascal Magazine and was published in Issue #4. Relevant Delphi code is available at http://17slon.com/blogs/gabr/BPM/AdvancedEnumerators.zip. In the previous issue you could learn some basic facts about enumerator basics. I described enumerator essentials, walked you through the compiler-provided execution framework and described how to write your own enumerator. Today I’ll show you how to implement more than one enumerator in a class and how to write enumerators that take parameters. To start, let's write some test framework. Instead of ...
Visits by Source
Users who voted for this posting