Delete all the '%' from your code, then try it again.
As robleong has stated, they are completely useless, because they indicates an integer declaration, which is the default.
So when you declare
Global abc%
is exactly the same of
Global abc
Only, abc is more readable than abc%.
Try.
One more thing.
I think, if I recall well, than if you declare an array with:
Dim arr(0)
then you can later re-dim the array like
dim arr(5)
But I'm not 100% sure. Argh ! I've typed a '%'.. !
;)
As robleong has stated, they are completely useless, because they indicates an integer declaration, which is the default.
So when you declare
Global abc%
is exactly the same of
Global abc
Only, abc is more readable than abc%.
Try.
One more thing.
I think, if I recall well, than if you declare an array with:
Dim arr(0)
then you can later re-dim the array like
dim arr(5)
But I'm not 100% sure. Argh ! I've typed a '%'.. !
;)