statement
From Lazarus wiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
│
English (en) │
suomi (fi) │
Statements are parts of a program that alter its state, e. g. by changing a variable’s value.
classification
One may distinguish between simple and structured statements.
Elementary statements are those, which can not be broken down into smaller pieces – “sub-statements”. These are
- assignments,
- procedure calls,
raise
control transfer, andgoto
jumps.
Complex statements are
- compound statements (also called sequence) delimited by
begin
andend
, - inline assembler blocks delimited by
asm
andend
, - branches, and
- loops.
remarks
In contrast to statements, instructions are the building blocks in low-level assembly language.
Empty statements are not statements in a formal sense, since they merely exist to satisfy syntax requirements in a non-superfluous manner.