Next Previous Contents 8. Loosely speaking, a statement is composed of expressions that are grouped according to the syntax or grammar of the language to express a complete computation.
Statements are analogous to sentences in a human language and expressions are like phrases.
A statement that occurs within a function is executed only during execution of the function. However, statements that occur outside the context of a function are evaluated immediately. The language supports several different types of statements such as assignment statements, conditional statements, and so forth. These are described in detail in the following sections. Perhaps the most well known form of statement is the assignment statement .