Table of Contents

Redim (Statement)

Format

redim array_variable ( integer )
redim array_variable ( integer ) fill expression
redim array_variable [ integer ]
redim array_variable [ integer ] fill expression redim array_variable ( array_size_rows , array_size_columns)
redim array_variable ( array_size_rows , array_size_columns) fill expression
redim array_variable [ array_size_rows , array_size_columns]
redim array_variable [ array_size_rows , array_size_columns] fill expression

Description

Re-sizes a previously created array, preserving data. If an array is enlarged and the fill clause is not included then the new elements will not be initialized (and will be unassigned). If an array is reduced in size the elements trimmed from the end are lost.

See Also

2016/01/01 22:42

History

0.9.5tNew To Version
1.99.99.57Added fill for unassigned elements