> On May 15, 2022, at 2:03 PM, Michael Van Canneyt via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
> Type
> TMySet = set of (one,two,three);
> 
> The element type does not exist as a separate type.

I mean if you had code like this T would be the anonymous enum (one,two,three). 
Maybe element is not the correct term here but the type which is the enum in 
the set.

var
  I: ElementType(TMySet);
begin
  for i := low(TMySet) to high(TMySet) do
    ;

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to