DimArray Function

Returns a Variant array.

Sintaksis:

DimArray ( Argument list)

Lihat juga Larik

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.

Parameter:

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

Kode kesalahan:

9 Subskrip di luar jangkauan

Contoh:

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