Statement

From Computer History Wiki
Jump to: navigation, search

A statement is the basic constituent element of a program in a high-level programming language; in such languages, it is analogous to an instruction in object code.

Common statements include assignments; control flow, including conditionals ('if'), loops ('for'/'while'), and jumps; and subroutine calls.

In many languages, there is special syntax to mark the end of each statement; in several languages, including C, a ';' does so.