Language - Statement (Sentence)

1 - About

A statement is being similar to a sentence.

Variables and data types aren't statements but they are the building blocks that form them.

Generally, a punctuation make obvious where one statement ends and another begins.

Language Statements end with
JavaScript a semicolon (;)
Python Whitespace (Ws)

A statement is contained in a block.

A statement is composed of expression that are composed of token.

The execution order of expression is determined by control-flow statements like if and for.

A statement is executed and produces neither an error message nor a value.

3 - Property

3.1 - Name / Label

A statement can have a label. See Language - Name (Program Entity)

code/grammar/statement.txt ยท Last modified: 2017/09/17 19:02 by 108.162.216.20