control flow

(programming)   (Or "flow of control") The sequence of execution of the instructions in a program. Control flow is normally linear, executing the instructions in the order they were written but can be changed at run time by control structures (e.g. if statements or goto statements) used in the program creating conditional branches, loops, etc.

Interrupts and exception handling also change the sequence of execution of instructions but are not part of normal control flow.

Not to be confused with "flow control".

Last updated: 2017-07-30


Loading