I do not know if this is a real bug but i have the following problem discovered:
I did make a separate program containing a function. A the start of that file i dim a variable
Dim Colors$(25)
At the start of the main program is include the file.
untile so far so good.
Then later in the main program i did dim the variable again but now i did use it to be a integer array
Dim Colors(3)
during compiling i do not get any warnings or stoping of the compiling of the program.
But because of this i got a error during running the program. Index ouf of range. As soon as the function is called.
I know that during compiling the use of dubble variables in differend settings (e.g int and Str) the compiling stops and point out that the variables are a mismatch.
So why do i get the error using normal variables and not when i use array's.
I did make a separate program containing a function. A the start of that file i dim a variable
Dim Colors$(25)
At the start of the main program is include the file.
untile so far so good.
Then later in the main program i did dim the variable again but now i did use it to be a integer array
Dim Colors(3)
during compiling i do not get any warnings or stoping of the compiling of the program.
But because of this i got a error during running the program. Index ouf of range. As soon as the function is called.
I know that during compiling the use of dubble variables in differend settings (e.g int and Str) the compiling stops and point out that the variables are a mismatch.
So why do i get the error using normal variables and not when i use array's.