' Collection of code snippets by Arne Vajhøj 
' (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
﻿Module Program
    Private Sub F1(a As Integer, b As Integer)
        Console.WriteLine("a = " & a)
        Console.WriteLine("b = " & b)
    End Sub
    Private Sub F2(Optional a As Integer = 321, Optional b As Integer = 654)
        Console.WriteLine("a = " & a)
        Console.WriteLine("b = " & b)
    End Sub
    Sub Main()
        F1(123, 456)
        F2(123, 456)
        F2(123)
        F2(,456)
        F2()
    End Sub
End Module
