Provides the length of an array given its array-name.
Syntax
Usage
#include once "fbc-int/array.bi"
using FB
...
result = ArrayLen(arrayname())
Parameters
arrayname
The name of the array for which the length is returned.
Description
Returns the total number of elements of the array specified by arrayname() (taking into account all dimensions of array).
Example
#include Once "fbc-int/array.bi"
Using FB
Dim As LongInt array(4, 5)
Dim As UInteger array_length
array_length = ArrayLen(array())
Print array_length '' 30
Version
Differences from QB
See also