All I can think right off the bat is that it might not like the semi-colon at the end of the expression.
Otherwise, it definitely evaluates to a single int value…
The BPM set field is already assuming the ; at the end. So when you added that in, it’s thinking that there 2 statements. If you remove that, you should be fine.