The following code compiles OK
Code: Select all
Dim x(0 To 255) As LongInt
Function y (z As Long, a() As LongInt) As Integer
Function = 0
End Function
Code: Select all
Dim x(0 To 255) As LongInt
Function y (z As Long, a() As LongInt = x()) As Integer
Function = 0
End Function
Tried several variations of the phrase "= x()" but can't get it right. Or can't I do this at all?