qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SHARED Statement
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Gives a SUB or FUNCTION procedure access to variables declared at the module
 level without passing them as parameters.
 
    SHARED variable[()] [AS type] [,variable[()] [AS type]]...
 
    ■ variable      Any valid array or variable name
 
    ■ ()            Indicates array declaration
 
    ■ AS type       (Default - SINGLE) Declares the data type of an array or
                    variable; use a separate AS type clause for each variable
                    defined
 
 See Also
    Scope Rules