IsArray Function /text/sbasic/shared/03102200.xhp
IsArray function

IsArray Function

Determines if a variable is a data field in an array.

Syntax:

IsArray (Var)

Return value:

Boolean

Parameters:

Var: Any variable that you want to test if it is declared as an array. If the variable is an array, then the function returns True, otherwise False is returned.

Example:

Sub ExampleIsArray Dim sDatf(10) As String Print isarray(sdatf()) End Sub