$DYNAMIC

From QB64 Wiki
Revision as of 06:24, 30 August 2009 by imported>Clippy (Created page with 'The '''$DYNAMIC''' Metacommand allows the creation of dynamic(changeable) arrays. ''Syntax:'' REM $DYNAMIC * Metacommands require a REM or apostrophy (') before them. * Meta…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The $DYNAMIC Metacommand allows the creation of dynamic(changeable) arrays.


Syntax: REM $DYNAMIC


  • Metacommands require a REM or apostrophy (') before them.
  • Metacommands should be placed at the program start in the main module.
  • Dynamic arrays can be resized using REDIM. The array's type cannot be changed.
  • All data in the array will be lost when redimensioned.
  • Dynamic arrays can be resized by the program user's input.


See also: STATIC