Length of Tenumeration has got to be fixed/implemented



Hello,

If I want to know how many elements there are in a numeration I am forced to
use something fucked up like:

Ord( High(Tenumeration) ) + 1

THAT SUCKS

Replace it with

Length( Tenumeration )

or introduce some special function

LengthOfEnum( Tenumeration )

or

EnumerationLength( Tenumeration );

or

ElementsIn( Tenumeration );

So I can write a bit more readable code because the ord high stuff is
fucking annoying =D

Bye,
Skybuck =D


.


Quantcast