Hallo all, within an enum type it's possible to get an itemcount by looping throught the items while counting them e.g. var AEnumVat : TEbnumType; begin AEnumVar := low(TEnumType) to high(TEnumType) do.... But if one uses a set of TEnumType, what's the best way of counting the amount of items in the set? One way should be by looping : for AenumVar := low(TEnumType) to high(TEnumType) do if AEnumVar in " the set [] " then ..... but having about 200 items in the enumtype (although not practical), this should take a "while" ; is there an easier way of doing this? regards Andries the netherlands
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [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/

