' Collection of code snippets by Arne Vajhøj ' posted to eksperten.dk, usenet and other places (2002-now) Module Main Sub DoIt(s As String, Optional i As Integer = 0, Optional x As Double = 0) Console.WriteLine(s & " " & i & " " & x) End Sub Sub Main() DoIt("ABC", 123, 123.456) DoIt("ABC") DoIt("ABC", , 123.456) Console.ReadLine() End Sub End Module