Question about Dim statement
Posted by Josh on December 26, 2001 4:49 PM
Hi
I have a general question on Dim statements
Let say I have Dim X as integer
and in my code I have
for x = 1 to something
My question is, is there any reason to say dim x as integer since it always will be an integer. I could put just Dim x. Is there a difference as far as the code is concerned or is the as ("whatever") there just to make the code easier to understand for other humans?
Thanks