self-changing variable
nounUK /ˌself ˈtʃeɪndʒɪŋ ˈveəriəbl/
US /ˌself ˈtʃeɪndʒɪŋ ˈveriəbl/
A self-changing variable is a value in a computer program that updates itself on its own.
The timer uses a self-changing variable to count down every second.
RELATED WORDS
OTHER MEANINGS
2. A variable whose value is altered by the program itself rather than by outside input.
In the game, the score is a self-changing variable that rises when you win points.
3. A stored value that changes automatically as part of a repeating process.
The progress bar relies on a self-changing variable to show how much is done.
4. A programming value that updates itself when certain conditions are met.
The light sensor's self-changing variable turns the lamp on when it gets dark.