clsD3DynamicArray Objects - searches through a clsD3DynamicArray for the specific occurrence of a character or substring returning the numeric position, if found.
clsD3SelectList Objects - returns the number of items that have been read from the list.
Syntax
lValue1 = oSelectList.brIndex lValue2 = oDynArray.brIndex(sChrDelim, nInstance) |
Parameters
Parameter |
Description |
lValue1 |
The return value is a Long data type indicating the number of items that have been read from the select list. |
oSelectList |
An object variable that represents a clsD3SelectList object. |
lValue2 |
The return value is a Long data type indicating the numeric position at which the nInstance occurrence of sChrDelim was found, or 0, if not found. |
oDynArray |
An object variable that represents a clsD3DynamicArray object. |
sChrDelim |
A String variable that defines the substring expression to be found in oDynArray. |
nInstance |
A Long that defines a particular occurrence of sChrDelim to be found. |
Returns
Negative for all lists returned in chunks.
Remarks
When using an RPC connection, if the D3List_TypeAcnt, D3List_Type_Dict, or D3List_TypeFile exists on the client, it may return a negative to indicate a partial list.
clsD3SelectList objects – The brReadnext method reads the next item from the select list and increments the value returned by this method.
FlashBASIC Reference
index (clsD3DynamicArray Object)