Global


Global a, b$, c(), d$()


Global a = 100


This command declares variables as global. Variables are simply listed separated by commas. A global variable is accessible throughout the program, in and out of subroutines.

Global commands may appear anywhere in a program and the variables will be global throughout. There may be more than one global statement.






Become a Patron