Delphi Cookbook
上QQ阅读APP看书,第一时间看更新

There's more...

What we discussed for class helpers is valid for record helpers as well. If you find the content of this chapter too difficult, you can refresh your understanding about helpers by (re)reading the Class and record helpers section in the Embarcadero DocWiki website (http://docwiki.embarcadero.com/RADStudio/en/Declarations_and_Statements#Iteration_Over_Containers_Using_For_statements), and perhaps trying it yourself.

Usually, when I talk about class and record helpers during my live training, just before showing the samples, the attendants ask, I understand the concepts, but in which cases should I use them? Now, you've seen some nice use cases; however, if you need some others too, read this interesting thread on Stack OverFlows (http://stackoverflow.com/questions/253399/what-are-good-uses-for-class-helpers).