ARRAYSIZE


Provides the size of an array given its array-name.

Syntax:
declare function ArraySize ( arrayname() as const any ) as uinteger

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).

Examples:
#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:
Back to Array Functions
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode