Will an arithmetic expression evaluate correctly if I use a Generator

variable? I am trying to build a template for a game, and I would like

to be able to score it using an expression like right = right + {value}

(where value = 1 if it's the correct answer and 0 if it isn't).

It doesn't seem to be working correctly. I figure I could work around

it with something like

If ({value} = right)

right = right + 1

but I would like to know if it's possible to do it the other way or not.

Thank you,

Ariel