Vincent Snijders wrote: >> >> Since I suspected that D2009 doesn't work on sparse enums, I tried, >> and the >> above is the result. > > Does it work on not sparse enums? Delphi compiler does not support for-in loop for types (enums, integer, ...). This is fpc extension :) Best regards, Paul Ishenin.