hello
How do i get the amount of enumerated types defined:
Some code:
type
SomeEnum = (enum1, enum2, enum3);
function ABC : integer
var AEnum : Someenum;
begin
result := ord(high(aEnum))
end;
Result will return the ordinal of the highest, but is there a direct way of
getting the count of this enum list?
Regards
andries
---------------------------------
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
[Non-text portions of this message have been removed]
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/delphi-en/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/