General information
Category:
Coding, syntax & commands
>HI,
>I would like to kow How i can pass a local array as a parameter.
>
>Dim X(65) As MyType
>
>LoadMyArray(X) ??
>...
>
>Private Sub LoadMyArray(X As MyType) ??
>
>
>Also, I should mention that these procedures are part of class.
>
>Thank you for your help,
>
>Christian Cote
Should work. Although the correct calling syntax is:
LoadMyArray x
..or
LoadMyArray x()
and the correct declaration would be:
Private Sub LoadMyArray(x() As MyType)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only