Is it possible to use negation for variables value?

The following event negation is working as expected in a scripted dial:

INIT TEXT
[(init)        {text:WAITING PITCHBEND…}]

RECEPTION OF PITCHBEND
[(pb:3,!16383) {@l_pitchbend:#@e_pbvalue#} {text:#@l_pitchbend#}]

But this one is not working:

INIT LOCAL VARS
[(init)               {@l_pitchbend:16383}]

INIT TEXT
[(init)               {text:WAITING PITCHBEND…}]

RECEPTION OF PITCHBEND
[(pb:3,!@l_pitchbend) {@l_pitchbend:#@e_pbvalue#} {text:#@l_pitchbend#}]

The event “(pb:3,!@l_pitchbend)“ is not showing any error in the SD editor, but it is not working.

Is it allowed to use negation with variables like this in events?

The intention was for it to work, but I see there’s a glitch when I resolve the variable content. I’ll fix that.

1 Like