{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}

Redim operator x(n)

Resizes the array x to the size n. The original values will be lost. After size has been changed, the array will contain default values of the used data type.

Usage:

Redim x(n)

Returns:

The array with the new size containing default values of the specified data type.

Examples:

x =Array(1,2,3)\ Redim x(4)
Dim monthOfFirstQuarter() As String
monthOfFirstQuarter = Array("January", "February", "March")
Redim monthOfFirstQuarter(4)
' The values of monthOfFirstQuarter are now: ("","","","")