reassignablevariable
nounUK /ˌriːəˈsaɪnəbl ˈveəriəbl/
US /ˌriːəˈsaɪnəbl ˈveriəbl/
A box in a computer program that can hold a new value whenever you want.
In the game, the score is a reassignable variable that goes up each time you win.
RELATED WORDS
OTHER MEANINGS
2. A storage spot in a program whose contents can be swapped out later.
The programmer used a reassignable variable to keep track of the player's lives.
3. A named container that is allowed to point to different data over time.
Unlike a fixed setting, a reassignable variable can be changed while the app runs.
4. A programming element that starts with one value but may be given another.
She declared a reassignable variable for the temperature and updated it every hour.