adjustablesubroutine
nounUK /əˈdʒʌstəbl ˈsʌbruːtiːn/
US /əˈdʒʌstəbl ˈsʌbruːtiːn/
A small helper program that can be changed to do different jobs.
The teacher showed us how to use an adjustablesubroutine to make the robot turn.
RELATED WORDS
OTHER MEANINGS
2. A reusable piece of code whose settings can be altered before it runs.
We passed different numbers into the adjustablesubroutine to draw circles of different sizes.
3. A helper task in a program that can be tuned without rewriting it.
The game uses an adjustablesubroutine to set how fast the player moves.
4. A small routine that accepts options to change its behavior.
By changing one option, the adjustablesubroutine printed the list in reverse.