qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
REDIM Statement
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Changes the space allocated to an array that has been declared dynamic.
 
   REDIM [PRESERVE] [SHARED] variable(subscripts) [AS type]
                           [,variable(subscripts) [AS type]]...
 
    ■ PRESERVE      Causes array data to be preserved when the upper
                    boundary is changed
 
    ■ SHARED        Causes specified array to be shared with all SUB or
                    FUNCTION procedures in the module
 
    ■ variable      Any valid array name
 
    ■ subscripts    Dimensions of the array:
 
                    [lower TO] upper [,[lower TO] upper]...
 
                    • lower    (Default - 0) Lower boundary of the array's
                               subscripts
                    • upper    Upper boundary of the array's subscripts
 
    ■ AS type       (Default - SINGLE) Declares data type of an array or
                    variable; use a separate AS type clause for each variable
                    defined
 
 See Also
    Array Storage Summary      DIM Statement      Scope Rules