namedvariable
nounUK /neɪmd ˈveəriəbl/
US /neɪmd ˈveriəbl/
A named variable is a labeled box in a computer program that holds a value you can use later.
In the code, the named variable 'score' stores the player's points.
RELATED WORDS
OTHER MEANINGS
2. A variable in math that is referred to by a letter or name, like x or n.
In the equation 2x + 3 = 7, x is a named variable.
3. A storage location in programming that has a user-chosen name instead of a memory address.
Instead of using address 0x1A2B, the programmer used the named variable 'total'.
4. A placeholder in a formula or template that is given a specific name for clarity.
The spreadsheet uses a named variable 'TaxRate' so the formula is easy to read.