Cancel
Showing results for 
Search instead for 
Did you mean: 

Calling methods

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hi community

In a method I want to call a number of other methods in a sequence which is defined in a tabelfile. To call a method defined in a tablefile I use the command "tablefile[1,1].methcall(0)". The problem is that in this way the main method continues to run before the called method runs, since methcall only enters an event into the list of scheduled events. However I like to run the called method before the main method continues. How can I do this?

Thanks for your help!

2 REPLIES

Re: Calling methods

Siemens Phenom Siemens Phenom
Siemens Phenom

TableFile[1,1].execute

_________________________________________________________________
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.

Re: Calling methods

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Thank you! Smiley Happy