Imperative Software Statement
(Redirected from Statement (Computer Science))
Jump to navigation
Jump to search
An Imperative Software Statement is a software element that ...
- Example(s):
- a Flow Control Statement, such as
do { println(x); x += 1} while (x < 5)
(a Scala flow control statement). - a Conditional Statement, such as ...
- a Scala Statement, Python Statement, R Statement, Java Statement, SQL Statement, Perl Statement, ...
- …
- a Flow Control Statement, such as
- Counter-Example(s):
- See: Imperative Programming, Software Expression, Imperative Program Statement.
References
2015
- (Wikipedia, 2015) ⇒ http://en.wikipedia.org/wiki/Statement_(computer_science) Retrieved:2015-8-17.
- In computer programming a statement is the smallest standalone element of an imperative programming language that expresses some action to be carried out. It is an instruction written in a high-level language that commands the computer to perform a specified action. A program written in such a language is formed by a sequence of one or more statements. A statement may have internal components (e.g., expressions). Many languages (e.g. C) make a distinction between statements and definitions, with a statement only containing executable code and a definition declaring an identifier, while an expression evaluates to a value only. A distinction can also be made between simple and compound statements; the latter may contain statements as components.