Another option is to create a method with the same signature in each class and then use CallSub to call this method. This way you do not need to check the exact object type and the object itself is responsible for handling the required task.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.