
|
<<
Index
>>
|
FutureBasic
|
fn DynamicNextElement
|
|
function
|
|
Syntax
nextIndex = fn DynamicNextElement(
dynamic(
gArray ) )
Description
This function returns 1 + the highest used index of a dynamic array.
Example
begin globals
dynamic gMyDynArray(1)
as long
end globals
dim as nextIndex
gMyDynArray(567) = 1234
nextIndex =
fn DynamicNextElement(
dynamic( gMyDynArray ) )
// nextIndex is 568
See also
DynamicInsertItems; dynamic; DynamicRemoveItems