[AccessD] Parameter (argument) order

Stuart McLachlan stuart at lexacorp.com.pg
Thu Feb 16 21:52:19 CST 2023


On 16 Feb 2023 at 11:08, Arthur Fuller wrote:

> The thing that bugs me is that the only way to pass an array is by
> using ParamArray, which must be the last argument. 

Where did you get that idea?

Function paramtest() As Long
Dim a(10) As String
Fillarr a(), 3, "Hello"
Debug.Print a(3)
End Function

Function Fillarr(arr() As String, idx As Long, sVal As String) As Long
   arr(idx) = sVal
End Function 




More information about the AccessD mailing list