ReDim

Resize a dynamic array.

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

Key
   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.

Example

   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:

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


© Copyright SS64.com 1999-2014
Some rights reserved