Mattias,

function    FindByGender(const AGender: enum): integer;
[DCC Error] person_bom.pas(92): E2003 Undeclared identifier: 'enum'

Is 'enum' a valid identifier in Lazarus?

Yes.
That means: it is not a keyword you can use it as an identifier.

There is no type or declared identifier "enum" in FPC ... thanks.

Have you searched for 'enum' in the tiOPF sources? Maybe you have to
add a unit to your uses section.

Yes I have looked, but it's likely worth another try. I'll have to have another look in the remaining project files as well.

Thanks,
--
DSK
Posted with 1.19.1.269


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to