{{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:
local numbervar array x :=[1,2,3]; Redim Preserve x[4] -> x=[1,2,3, ]
StringVar array monthOfFirstQuarter := ["January", "February", "March"];
redim preserve monthOfFirstQuarter [ 4 ]; monthOfFirstQuarter [4] := "April"; ' The array now contains: ("January", "February", "March", "April")
"March" In monthOfFirstQuarter AND "April" In monthOfFirstQuarter
-
> Formula returns True