?? Create a Public SUB with an array as parameter. ??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I created a class

public sub FindInIt(myArray() as double)
...
…
End sub

When I’m creating an object to call that sub ,
Obj.FindInIt(ThisismyArray) then

I receive an error message that says …. Compile error expected =

like if it was a function. My question is can I pass an array by reference?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top