' Visual Basic 2008 9.0 .NET Examples - Local, Module and Static Variables - Procedures and Functions : Module Exercise1Task Dim test As Integer Sub Main() Test1() Test2() ' Console.ReadLine() End Sub Sub Test1() Dim test As Integer = 1 Test3(test) End Sub Sub Test2() test = 2 Test3(test) End Sub Sub Test3(ByVal test As Integer) test += test Console.WriteLine(test) End Sub End Module ' Visit www.studyvb.com for more examples. Copyright 2003-2008 De Wolf.