E
ElanKathir .S.N
Hi all !
VB.NET adds the ability to create variables that are visible only within
a block. A block is any section of code that ends with one of the words
End , Loop , or Next . This
means that For...Next and If...End If blocks can have their own
variables.
So,
While y>6
Dim x as interger
......
End while
But x have lifetime of procedure level. Means,
Dim x as interger -- This line geting eff. at first time only. is it
right ?
Thanks & Regards
Elankathir,
B'lore,
India.
VB.NET adds the ability to create variables that are visible only within
a block. A block is any section of code that ends with one of the words
End , Loop , or Next . This
means that For...Next and If...End If blocks can have their own
variables.
So,
While y>6
Dim x as interger
......
End while
But x have lifetime of procedure level. Means,
Dim x as interger -- This line geting eff. at first time only. is it
right ?
Thanks & Regards
Elankathir,
B'lore,
India.