Passing reference to a class

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

I need to do the same process on separate classes. Is there a way to pass
reference of different classes to the same procedure?

Thanks

Regards
 
John said:
I need to do the same process on separate classes. Is there a way to
pass reference of different classes to the same procedure?

Declare the argument "As Object"...
 
* "John said:
I need to do the same process on separate classes. Is there a way to pass
reference of different classes to the same procedure?

Dimension the parameter as 'Object' or as, for example, the common base
class, or an interface all the classes implement.
 
Hi John,

Can you explain it in another way?
I need to do the same process on separate classes. Is there a way to pass
reference of different classes to the same procedure?
For me it sounds the most that you want to use a shared procedure in all
your classes.

Cor
 

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