Provides the size of an array given its array-name.
Syntax
Usage
#include once "fbc-int/array.bi"
using FB
...
result = ArraySize(arrayname())
Parameters
arrayname
The name of the array for which the size is returned.
Description
Returns the total size (in bytes) of the array specified by arrayname() (size of array element multiplied by total number of array elements).
Example
#include Once "fbc-int/array.bi"
Using FB
Dim As LongInt array(4, 5)
Dim As UInteger array_size
array_size = ArraySize(array())
Print array_size '' 240
Version
Differences from QB
See also