' Visual Basic 2008 9.0 .NET Examples - Statementblcok Variables - Procedures and Functions : Module Example2 Sub Main() For count As Integer = 1 To 5 Dim forVariable As Integer Console.WriteLine(forVariable) forVariable += 1 Next Console.WriteLine() ' For count As Integer = 1 To 5 Dim forVariable As Integer = 1 Console.WriteLine(forVariable) forVariable += 1 Next ' Console.ReadLine() End Sub End Module ' Visit www.studyvb.com for more examples. Copyright 2003-2008 De Wolf.