Arraylen

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

Syntax
   Declare Function ArrayLen ( arrayname() As Const Any ) As UInteger

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
   * Since fbc 1.09.0. 

Differences from QB
   * New to FreeBASIC.

See also
   * Arraysize
   * Fbarray (Array Descriptor Structure And Access)

