statement
English · Suomi
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, and
- goto jumps.
Complex statements are
- compound statements (also called sequence) delimited by begin and end,
- inline assembler blocks delimited by asm and
end, - 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.
see also
From the Free Pascal wiki, page "statement", as it stood on 2020-06-22 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
