{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

Redim Preserve operator x(n)

Resizes the array x to the size y. The original values will be preserved.

Usage:

Redim Preserve x(n)

Returns:

The array with the new size.

Examples:

Dim x() As Number
x =Array(1,2,3)
Redim Preserve x(4)
-> x=[1,2,3, ]
Dim monthOfFirstQuarter() As String
monthOfFirstQuarter = Array("January", "February", "March")
Redim monthOfFirstQuarter(4)
monthOfFirstQuarter(4) = "April"
' The array now contains: ("January", "February", "March", "April")
formula = "March" In monthOfFirstQuarter and "April" In monthOfFirstQuarter
  1. > Formula returns True
i-net Clear Reports
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - Redim Preserve (Basic)