◄Contents►  ◄Index►  
──────────────────────────────────────────────────────────────────────────────
Set the default array storage.

{REM | '} $STATIC
{REM | '} $DYNAMIC

    ■ {REM | '}    REM or a remark character (') must precede metacommands.
    ■ $STATIC      Specifies that arrays declared in subsequent DIM
                   statements are static arrays (unless they are declared in
                   a non-static SUB or FUNCTION procedure). Array storage is
                   allocated when you start the program, and remains fixed.
    ■ $DYNAMIC     Specifies that arrays declared in subsequent DIM
                   statements are dynamic arrays. Array storage is allocated
                   dynamically while the program runs.

    ■ DIM and REDIM usually provide a better way to specify whether arrays
      are dynamic or static.

See Also    ◄DIM, REDIM►    ◄REM►    ◄SHARED, STATIC►
──────────────────────────────────────────────────────────────────────────────
 © Copyright Microsoft Corporation, 1987-1992. All rights reserved.
   Converted from qbasic.hlp with DosHelp/HelpConvert