I stumbled on the following statement in the manual on p.254:
"If an array is defined as GLOBAL outside of a Sub or Function, you must still
include the GLOBAL keyword in the DIM statement"
i.e. DIM a(1 to 500) AS GLOBAL STRING
I have a lot of arrays that I declare in an inc file outside of all Subs and
Functions, but which I dimension without redeclaring them as GLOBAL and type.
I have never had any problems with the code (as far as I know).
I wonder if the manual is in error here, or if I need to go back and change
all my dimension statements. Would appreciate some help.
------------------
"If an array is defined as GLOBAL outside of a Sub or Function, you must still
include the GLOBAL keyword in the DIM statement"
i.e. DIM a(1 to 500) AS GLOBAL STRING
I have a lot of arrays that I declare in an inc file outside of all Subs and
Functions, but which I dimension without redeclaring them as GLOBAL and type.
I have never had any problems with the code (as far as I know).
I wonder if the manual is in error here, or if I need to go back and change
all my dimension statements. Would appreciate some help.
------------------
Comment