Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.023 Beiträge
 
#1

Generics, Enumerated types and ordinal values

  Alt 8. Apr 2011, 17:20
I wish this was a solution post, but it is a frustration post. I trying to figure out how I can use Ord() to convert an enumerated type to integer or cast an integer to an enumerated type using generics type arguments?uses SysUtils, TypInfo;type TEnumGen = class class function Name(const ...

More...
  Mit Zitat antworten Zitat