Example - End Statement

Sub Main()
    Dim Var1 as String
    Var1 = "hello"
    MsgBox "Calling Test"
    Test Var1
    MsgBox Var1
End Sub
Sub Test(wvar1 as string)     wvar1 = "goodbye"     MsgBox "Use of End Statement"     End End Sub