Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

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.

Error codes:

5 Invalid procedure call

Example:


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