On 21/10/2020 21:34, Ryan Joseph via fpc-pascal wrote: > I thought default would just return the first value in the enum but I guess it's just zeros. Maybe we need a better default for objfpc mode. The first element is returned by Low(TEnum), and the first value by Ord(Low(TEnum)).