Hi,
I want to make a function and want to check sıgnal state. if it is true I will pass but if it is not I will wait until it is true.
But I don't know is it work if I define parameter like myFunc(mysıgnal:OUT)?
I know that if I pass parameter with out type, I can change it value. But what happens if it is an input signal?
Does it value is refreshed after function is called with it's old value.
Code
DEF myFunc(mysıgnal:OUT)
DECL BOOL mysıgnal:OUT
CONTINUE
IF NOT mysıgnal THEN
WAIT FOR mysıgnal
ENDIF
END