Revision [12810]

This is an old revision of KeyPgMetaStatic made by JeffMarshall on 2008-04-01 15:46:30.

 

$STATIC


Metacommand to change the way arrays are allocated

Syntax:
'$Static
or
KeyPgRem rem $Static

Description:
'$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.

Examples:
' compile with -lang fblite or qb
'$dynamic
Dim a(100)   '<<this array will be variable-length
'$static
Dim b(100)   '<<this array will be fixed-length


Dialect Differences:
Differences from QB:
See also:
Back to Array Functions
Back to Compiler Switches
Back to Preprocessor
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode