Global
Declares a variable every part of the program can use.
Global name[%|#|$|.Type] [= value] [, ...]
Parameters
- None.
Description
Makes variables that can be used everywhere, inside functions too. Global can only be used in the main program, outside functions. Global lives = 3, name$ = "Ann". With square brackets it makes a fixed-size array: Global grid[9], numbered from 0 to 9.
