{{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:

local numbervar array x :=[1,2,3];
Redim x[4]
' The values of x are now: [ 0, 0, 0, 0]