On 21/10/2020 21:34, Ryan Joseph via fpc-pascal wrote:
The first element is returned by Low(TEnum), and the first value by Ord(Low(TEnum)).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.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal