Forum Discussion
djadhav
10 years agoRegular Contributor
Whichever method calls DoSomething1 or DoSomething2, have a call to Preparation before you call any of them. That way you have only 1 call to preparation.
Sub CallerFunction
Call Preparation
Call anyDoSomething
End Sub
- S_Leonardo10 years agoOccasional Contributor
Thanks for the reply but this is exactly what i do not want to do. In this way i have to call Preparation before calling any other method.
Like this:
Sub CallerFunction
Call Preparation
Call DoSomething1
Call Preparation
Call DoSomething2
Call Preparation
Call DoSomethingX
End Sub
In this specific script i have 38 methods and i got other scripts that will need something like this in the future. So i really wanted something like events.
Thanks!