Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

statement

You are here: irt.org | FOLDOC | statement

<programming> A single instruction in a computer program written in a procedural language. Typical examples are an assignment statement, an if statement (conditional), a loop statement ("while", "for", "repeat", "until", etc.), a procedure call, a procedure exit, function return statement, switch statement or goto statement.

In many languages, one or more simple statements can be executed sequentially as a compound statement, e.g. bracketed between "begin" and "end" or "{" and "}" which can then appear in place of a simple statement in an "if" or loop.

Each statement in a high-level language will typically be translated into several machine code instructions by a compiler or, alternatively, executed by an interpreter.

(2009-10-23)

Nearby terms: state diagram « stateless « state machine « statement » state transition diagram » State University of New York » static

FOLDOC, Topics, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ALL

©2018 Martin Webb