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

DimArray Function

Returns a Variant array.

Syntax:


DimArray (ArgumentList)

See also Array

If no parameters are passed, an empty array is created (like Dim A() that is the same as a sequence of length 0 in Uno). If parameters are specified, a dimension is created for each parameter.

Parameters:

ArgumentList: A list of any number of arguments that are separated by commas.

Error codes:

9 Index out of defined range

Example:


    a = DimArray( 2, 2, 4 ) ' is the same as DIM a( 2, 2, 4 )