declaredvariable
nounUK /dɪˈkleəd ˈveəriəbl/
US /dɪˈklerd ˈveriəbl/
A named box in a computer program that holds a value you can use later.
The programmer created a declared variable called score to keep track of the player's points.
RELATED WORDS
OTHER MEANINGS
2. A variable that has been formally introduced to the program before it is used.
You must use a declared variable before the compiler will accept your code.
3. A storage location whose name and type are stated explicitly in the source code.
The declared variable total was set to zero at the start of the function.
4. A symbol in a program that has been given a name and a value through a declaration statement.
Each declared variable in the script was listed at the top for clarity.