unchangeablevariable

noun
UK /ʌnˈtʃeɪndʒəbəl ˈveəriəbəl/
US /ʌnˈtʃeɪndʒəbəl ˈveriəbəl/

A value in a computer program that you set once and cannot change later.

The programmer stored the maximum score in an unchangeablevariable so no one could accidentally alter it.


OTHER MEANINGS

2. A quantity in math that stays the same throughout a problem.

In the equation, the unchangeablevariable kept the total fixed while other numbers changed.

3. A setting in a game that players are not allowed to modify.

The difficulty level was an unchangeablevariable in the tournament mode.

4. A fact or rule that cannot be altered in a given situation.

For the experiment, gravity was treated as an unchangeablevariable.