(Gast)
n/a Beiträge
|
Re: Set durchsuchen
3. Jul 2009, 21:50
Delphi-Quellcode:
type
TEnum = (eA, eB, eC);
TEnums = set of TEnum;
procedure DoIt( const ASet: TEnums);
var
lIndex: TEnum;
begin
for lIndex := low(TEnum) to high(TEnum) do
begin
if lIndex in ASet then
DoSomething(lIndex);
end;
end;
|
|
Zitat
|