Sign in Join
FPDoc Onlineexperiment

GetEnumNameCount function

In unit TypInfo

Return number of names in an enumerated type.

Declaration

pascal
function GetEnumNameCount(enum1: PTypeInfo): SizeInt

Description

GetEnumNameCount returns the number of values (names) in the enumerated type, described by enum1

Errors

No checking is done to see whether Enum1 is really type information of an enumerated type.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.