Cancel
Showing results for 
Search instead for 
Did you mean: 

is there some way to start a method with function through eventcontroller?

Builder
Builder

I want to call a method using the comand methcall which contains a function that receives a string as argument.

 

ex.

&method_x("string").methcall(100)

 

I  tried that command, it does not work. I think it´s very usefull if we have that option available in the future if we do not have some way to do that in the current version.

3 REPLIES

Re: is there some way to start a method with function through eventcontroller?

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
almost right

&method_x.methcall(100,"string")
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: is there some way to start a method with function through eventcontroller?

Builder
Builder

omg, it exists!!!

 

It will prevent me of spending some additional time to create my model.

thanks for the quick reply!!!!!

Re: is there some way to start a method with function through eventcontroller?

Phenom
Phenom

the methcall works like this:

 

&method1.methcall(0,"hello world")

 

method1(stringdata )  is called at 0 sec and recieves "hello world" as  stringdata