> It seems perverse that you can get the ordinal value of a set

Set's aren't arrays, they are bitfields.  As such there is no intrinsic ordering
of the items.  The fact that they are bitfields means that they are quick than
arrays to check membership but slower to check size.  It's a trade off... It's 
not much work to implement similar functionality for a Enumeration class
supporting ordering and captioning - it just won't be as quick (or as light
on memory).

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to