◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── REDIM [SHARED | PRESERVE] variable(subscripts) [AS type] [,variable(subscripts) [AS type]]... ■ SHARED Allows a module to share variables with all the procedures in the module. ■ PRESERVE Preserves the data in an existing array. ■ variable A BASIC variable name. ■ subscripts The dimensions of the array (see Details). ■ AS type Declares a data type for the array (see Details). See Also ◄DIM► ◄COMMON► ◄STATIC► ◄SHARED► ◄ERASE►