Use of a bit from a packed array as a ref to task

Hi,
Yes, I need to pass it by ref, because the task waits for the signal to change value