Passing Arguments by Position and by Name

Sub Test ( arg_1 As String,
  Optional arg_2 As String = "bar",
           arg_3 As Int = 42 )
  #Debug? "arg_1=""" & arg_1 & """" $N _
          "arg_2=""" & arg_2 & """" $N _
          "arg_3=" & arg_3 & $N
End Sub

Passing arguments by position

Call Test "foo", "baz", 3
Call Test "foo", , 3

Passing arguments by name

Call Test arg_3 := 3, arg_2 := "baz", arg_1 := "foo"

Mixing arguments by position and by name

Call Test "foo", arg_3 := 3, arg_2 := "baz"

Supplying optional arguments by name

Restrictions on supplying arguments by name