Exit Routine

What Does Exit Routine Mean?

An exit routine is a programmer-added command to skip forward and begin the next set of instructions.

Advertisements

A computer program has two primary routine types (function and subroutine) that are used to handle multiple commands. When a condition requires an immediate exit, an exit routine command is implemented to interrupt the code sequence execution and end the application after the computer processes the command.

An exit routine is also known as an exit program.

Techopedia Explains Exit Routine

Computer applications have one or more functions or subroutines. Routines allow programmers to avoid the continuous process of rewriting certain commands, which saves code space and programmer time, while efficiently facilitating code changes.

A programmer must consider randomly occurring conditions or events and perform code changes as required. However, a routine functions as a single unit, where a command is executed immediately after the prior command. Thus, additional exit routine commands are added to stop sequential command execution.

Advertisements

Related Terms

Margaret Rouse
Technology Expert

Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.