ArraySet InsertItem
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Nov 24 12:37:27 CST 2003
on 11/24/03 11:48 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.
>
> Right. I insert at position 0. You mean that I the array starts at 1?
YES!!!
--
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