andy_leonard's avatar
andy_leonard
New Member
1 year ago
Status:
Needs Votes

Increment Variable Value

I would like to be able to increment the value of a numeric variable in a single activity.


Currently, when I attempt to increment the value of a variable using a Set Variable activity, I get an error, "The expression contains self referencing variable. A variable cannot reference itself in the expression."


A search reveals a solution that involves using two variables and two Set variable activities. That feels clunky to me.

2 Comments

  • The fact that setting a variable's value based on it's current value isn't supported is ridiculous. Surely this is a basic characteristic of every programming language? How can this even be an idea that needs to be voted?

Recent ideas