ArraySet InsertItem

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Nov 24 11:32:47 CST 2003


on 11/24/03 11:24 AM, Arthur Clemens at aclemens at xs4all.nl wrote:

> Is it correct that I cannot use InsertItem with an FBL_ArraySet when
> the set has no items?
> If I don't want to crash I must use a check now:
> 
> if ([self shownCount] == 0)
>        mShownSet->Append( recordId );
>    else
>        mShownSet->InsertItem( newPos, recordId );
> 
> I think this low level check could be done by Valentina.

In fact yes.

How you insert?

    p->Insert( 1, id )      ?


I think you can correct Insert method self and send me correct version.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list