Can't modify passed-by-reference variable in a wait
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
Comments
Was there a question implied in the original post?