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
 
Back
Top