[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SHARED Declare Global Variables
SHARED varlist
Declares one or more variables in a subprogram global.
varlist A comma-delimited list of valid variable and/or array
names; array names should be followed by empty
parentheses.
-----------------------------------------------------------------------
Notes: The SHARED statement may be used only within a subprogram,
and makes main program variables available only to the
current subprogram.
The SHARED attribute, in contrast, may be used in a COMMON
or DIM statement at the main program level to make
variables accessible by all subprograms in a module.
The SHARED statement does not make variables available to
library routines or subprograms compiled separately.
See Also:
COMMON
DIM
SUB...END SUB
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson