Jim,  it looks like not many people use sets, I use them all the 
time.  :-)

To obtain a count, you have to go thru the elements, the set is a
bitmap (as it were), the first defined element if it exists sets
bit0 high, etc...

On 19 Feb 99 at 14:01, Jim Zheng wrote:

> Hi all,
> 
> Does anyone know how to get the number of element in a set and how to know
> the value stored in first, second .. position of a set easily?
> 
> I know we can loop through the whole set, but is there any faster way?
> 
> Thanks,
> 
> Jim Zheng
> 
> 
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> 
Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to