Difference between revisions of "Metacommand"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
imported>Clippy
m
Line 7: Line 7:
 
::REM {{KW|$INCLUDE}}: 'QB.BI' loads a referance file or library
 
::REM {{KW|$INCLUDE}}: 'QB.BI' loads a referance file or library
  
::REM {{KW|$DYNAMIC}}  'allows {{KW|Arrays|arrays}} to be redimensioned ({{KW|REDIM}}}.
+
::REM {{KW|$DYNAMIC}}  'allows {{KW|Arrays|arrays}} to be redimensioned ({{KW|REDIM}}).
  
 
::REM {{KW|$STATIC}}  'sets all array sizes as unchangeable once dimensioned ({{KW|DIM}}).
 
::REM {{KW|$STATIC}}  'sets all array sizes as unchangeable once dimensioned ({{KW|DIM}}).

Revision as of 20:08, 18 June 2010

Qbasic Metacommands are commands that are commented out and start with $.


Syntax:

REM $INCLUDE: 'QB.BI' loads a referance file or library
REM $DYNAMIC 'allows arrays to be redimensioned (REDIM).
REM $STATIC 'sets all array sizes as unchangeable once dimensioned (DIM).


  • Metacommands are used at the program start and are in effect throughout the program.
  • Metacommands should have their own program line since they are commented out.




Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page