Thursday, March 15, 2007

Default array properties - There Can Be Only One. Not!

I was in total awe today when I found out that there can be more than one default array property in a single class. And I thought that I know everything about Object Pascal!

I also come across a great way to use records and Implicit operator.

And what's the best - I learned both things in a single blog entry - Overloading array properties in Delphi/Win32! Recommended!

1 comment:

  1. NativeCoder09:04

    I also found about this recently. It works in Delphi 2006 (I'm not sure about D2005).
    In prior versions of Delphi this doesn't work.

    ReplyDelete