{{fbdoc item="title" value="$STATIC"}}---- Metacommand to change the way arrays are allocated {{fbdoc item="syntax"}}## **'$Static** //or// [[KeyPgRem|rem]] **$Static** ## {{fbdoc item="desc"}} ##**'$Static**## is a metacommand that overrides the behavior of ##[[KeyPgMetaDynamic|$Dynamic]]##, that is, arrays declared with constant subscript ranges are fixed-length. This remains in effect for the rest of the module in which ##**'$Static**## is used, and can be overridden with ##[[KeyPgMetaDynamic|$Dynamic]]##. It is equivalent to the ##[[KeyPgOptionstatic|Option Static]]## statement. {{fbdoc item="ex"}} {{fbdoc item="filename" value="examples/manual/meta/static.bas"}}%%(freebasic) ' compile with -lang fblite or qb #lang "fblite" '$dynamic Dim a(100) '<