NAME
COMMON Statement
SYNOPSIS
COMMON [SHARED] variablelist
o SHARED Indicates that variables are shared with all SUB
or FUNCTION procedures.
o variablelist One or more variables to be shared:
variable[( )] [AS type] [, variable[( )] [AS type]]...
variable A Basic variable name. Variable names can
consist of up to 40 characters and must
begin with a letter. Valid characters are
A-Z, 0-9, and period (.).
type The data type of the variable (INTEGER,
LONG, SINGLE, DOUBLE, STRING, or a
user-defined data type).
o Unless it has been declared as a static array in a preceding DIM
statement, an array variable in a COMMON statement is a dynamic array.
Its dimensions must be set in a later DIM or REDIM statement.
SEE ALSO
CHAIN DIM REDIM FUNCTION SHARED STATIC SUB