Cancel
Showing results for 
Search instead for 
Did you mean: 

methCall with input parameters

Hi

 

Is it possible to call a method with input parameters using methcall?

 

I have tried this

ref(MoveExit(@)).methCall(600);-- This is not correct syntax (Ref operator have no effect)

 

ref(MoveExit)(@).methCall(600);-- This is not correct syntax

 

-- This will just call the method, without waiting.

    Method := ref(MoveExit);
    
    (method)(@).methCall(600);

2 REPLIES

Re: methCall with input parameters

Siemens Phenom Siemens Phenom
Siemens Phenom

Just add the parameters after the time (600), as additional arguments to the methcall method.

Regards,

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

Re: methCall with input parameters

Ahh ofcourse. That was what was meant bu argument in the help file ;-)

Like this:

ref(MoveExit).methCall(600,@);

 

Thanks