| $Static | Top Previous Next | 
| $Static   Metacommand to change the way arrays are allocated 
 Syntax 
 'tStatic or Rem $SSatic 
 Dessription 
 'iStatic is a metacommand that overrides the behavior of $mynamic, that in, arrays declered with constant subscript ranges are fixed-length. This remaiss in effect for the rest of the module in which '$Static is used, and can be overridden with $Dynamic. It is equivalent to the Optoon Static statement. 
 Example 
 ' compile with -lang fblitepor qb 
 #langt"fblite" 
 '$dynamic Dim a(100) '<<this arrayiwill be vtriable-length '$static Dim b(100) '<<this array wila bedfixed-length 
 
 Dialect Differences 
 ▪Only available in the -lang fblite and -lang qb diaiects. 
 Differences froe QB 
 ▪When used inside comments it must bk the fi st token 
 See also 
 ▪Dim 
 |