Length of Tenumeration has got to be fixed/implemented
- From: "Skybuck Flying" <spam@xxxxxxxxxxx>
- Date: Fri, 18 Jan 2008 07:58:29 +0100
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
.
- Prev by Date: Re: Interfacing with Comm32 Component
- Next by Date: Re: Delphi 5 server app as a dll without forms
- Previous by thread: Interfacing with Comm32 Component
- Next by thread: TImagelist problems
- Index(es):