Control flow
Order in which individual statements, instructions or function calls of an imperative program are executed or evaluated
In software, control flow (or flow of control) describes how execution progresses from one command to the next. In many contexts, such as machine code and an imperative programming language, control progresses sequentially (to the command located immediately after the currently executing command) except when a command transfers control to another point – in which case the command is classified as a control flow command.
Nº Q868299 ★★
Uncommon · Knowledge
Control flow
Order in which individual statements, instructions or function calls of an imperative program are executed or evaluated
In software, control flow (or flow of control) describes how execution progresses from one command to the next. In many contexts, such as machine code and an imperative programming language, control progresses sequentially (to the command located immediately after the currently executing command) except when a command transfers control to another point – in which case the command is classified as a control flow command.
Last price
—
Floor price
—
7-day median
—
30-day sales
0
30-day range
—
In circulation
0
Price history
median
low – high
sales
No sales in this period
Show table
| Date | median | Low | High | sales |
|---|
Sales history
- Last sale
- —
- 30-day average
- —
- 30-day low
- —
- 30-day high
- —
- Sales 7d
- 0
- Sales 30d
- 0
No sales yet.
Anonymous sales: no buyer or seller shown. Figures count player-to-player sales only.
From Wikipedia
In software, control flow (or flow of control) describes how execution progresses from one command to the next. In many contexts, such as machine code and an imperative programming language, control progresses sequentially (to the command located immediately after the currently executing command) except when a command transfers control to another point – in which case the command is classified as a control flow command. Depending on context, other terms are used instead of command. For example, in machine code, the typical term is instruction and in an imperative language, the typical term is statement. Although an imperative language encodes control flow explicitly, languages of other programming paradigms are less focused on control flow. A declarative language specifies desired results without prescribing an order of operations. A functional language uses both language constructs and functions to control flow even though they are usually not called control flow statements. For a central processing unit instruction set, a control flow instruction often alters the program counter and is either an unconditional branch (a.k.a. jump) or a conditional branch. An alternative approach is predication which conditionally enables instructions instead of branching. An asynchronous control flow transfer such as an interrupt or a signal alters the normal flow of control to a handler before returning control to where it was interrupted. One way to attack software is to redirect the flow of execution. A variety of control-flow integrity techniques, including stack canaries, buffer overflow protection, shadow stacks, and vtable pointer verification, are used to defend against these attacks.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
F
Flow control (data)
Management of data rate
Nº Q612457 ★
Not listed
-
D
Dataflow programming
Programming paradigm that models program as a directed graph of data flow between operations
Nº Q1172543 ★
Not listed
-
I
Instruction list
Wikimedia list article
Nº Q613332 ★★
Not listed
-
I
Inversion of control
Software programming technique in which general framework code calls into business-logic subroutines
Nº Q666438 ★★
Not listed
-
E
Event loop
Programming design pattern that waits for and dispatches events or messages in a program
Nº Q1349935 ★
Not listed
-
Function (computer programming)
Sequence of instructions that can be called from other points in a computer program
Nº Q190686 ★★
Not listed