Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Basic - <b>common pass variables to chained program</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
COMMON                   Pass Variables to CHAINed Program

 COMMON varlist

    Passes variables to a chained-to program or a procedure (subprogram).

     varlist    A comma-delimited list of variables and/or arrays to be
                shared with a chained-to program or a procedure. The name
                of an array variable must be followed by the number of
                dimensions in the array, enclosed in parentheses.

   -------------------------------------------------------------------------

      Notes:    The order and types of the variables in varlist are
                significant, not the names of the variables.

                The COMMON statement must appear in both the calling
                program and the chained-to program.

                A program may contain more than one COMMON statement, but
                the same variable name may not appear in more than one
                COMMON statement.

                Interpretive BASIC's CHAIN ALL COMMON override is not
                supported by Turbo Basic.

See Also: CALL CHAIN SUB...END SUB

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson