Resize a dynamic array.

      ReDim [Preserve] varname(subscripts)[,varname(subscripts)]...

   Preserve    Preserve existing data in the array where possible

   varname     The name of the array variable

   subscripts  The upper bound of the array dimension(s)
               comma separated if more than one.


   redim strPrintQueues(50)

“Physical fitness is not only one of the most important keys to a healthy body, it is the basis of dynamic and creative intellectual activity” ~ John Fitzgerald Kennedy

Related VBScript commands

Dim - Declare a new variable or array variable.
Array - Add values to an Array variable.
Equivalent in PowerShell: Not required, arrays are resized automatically.

Copyright © 1999-2024
Some rights reserved