Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QuickBASIC 3.0 - <b>redim redimension array</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
REDIM                    Redimension Array

 REDIM [SHARED] arrayname(subscripts) [arrayname(subscripts)...]

    Changes the size of the dimensions in one or more dynamic arrays.

   arrayname    The name of a dynamic array.

  subscripts    The new dimensions of an array.

   -----------------------------------------------------------------------

      Notes:    Only dynamic arrays may be REDIMensioned. To declare an
                array dynamic, use a variable in its original DIM
                statement, or use the $DYNAMIC metacommand.

                The size of array dimensions may be changed via REDIM, but
                the number of dimensions may not.

                When REDIM is executed, all array elements are
                reinitialized to 0 (numeric) and null (string).

See Also: DIM ERASE

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson