Hi All,
Quick one: several times in vb.net code I have got off the net there are
lines such as:
For i As Integer = 0 To 10
which, on compiling with VS2002, produce the following error:
error BC30451: Name 'i' is not declared.
One way to fix this issue is to separate the declaration into a new line:
Dim i As Integer
For i As Integer = 0 To 10
But the fact that I keep seeing this in other people's code is making me
wonder what's going on...
Any answers out there?
Cheers,
JON