Can't modify passed-by-reference variable in a wait
travis
Posts: 180
DEFINE_VARIABLE INTEGER qwer DEFINE_CALL'foo'(INTEGER asdf) { asdf = true send_string 0, 'True' wait 50 { asdf = false send_string 0, 'False' } } BUTTON_EVENT[dvTP, 444] {PUSH: { CALL'foo'(QWER) } }
qwer never goes back to FALSE
0
Comments
Was there a question implied in the original post?