exitfunction

noun
UK /ˈɛksɪtˌfʌŋkʃən/
US /ˈɛksɪtˌfʌŋkʃən/

A special command that tells a computer program to stop and close.

The programmer added an exitfunction so the game would close when the player clicked quit.


OTHER MEANINGS

2. A key or button that lets you leave a screen or menu.

Press the exitfunction to return to the main menu.

3. The part of a code that runs when a program finishes.

The exitfunction saved the player's score before closing.

4. A way out of a building or place.

The fire exitfunction led everyone safely outside.