modulevariable

noun
UK /ˈmɒdjuːl ˈveəriəbl/
US /ˈmɑːdʒuːl ˈveriəbl/

A module variable is a named box inside a computer program part that holds a value.

The programmer changed the module variable to set the game's starting speed.


OTHER MEANINGS

2. A variable declared at the top level of a software module and visible to all functions in that module.

Because it was a module variable, every function in the file could read its value.

3. In electronics, a setting stored in a plug-in unit that can be adjusted.

The technician adjusted the module variable to tune the sensor.

4. A value in a learning module that students can change during an exercise.

Each student edited the module variable to see how the simulation changed.