toggleprogram

noun
UK /ˈtɒɡ.əlˌprəʊ.ɡræm/
US /ˈtɑː.ɡəlˌproʊ.ɡræm/

A toggleprogram is a small computer program that switches something on or off.

She wrote a toggleprogram to turn the classroom lights on and off.


OTHER MEANINGS

2. A program that alternates between two states each time it runs.

The toggleprogram flips the sign between open and closed every minute.

3. A feature in software that lets a user turn an option on or off.

Use the toggleprogram in the settings menu to hide the toolbar.

4. A small script used to enable or disable a device remotely.

The engineer ran a toggleprogram to restart the sensor.