Expressions, operators and statements
Sunday, 28 March 10, 12:53 ZA quick note about expressions, operators, statements and how they relate:
- Expressions (literals, variables ...) produce a value.
- Operators combine expressions into a more complex expression.
- Statements make something happen using expressions.
- Statements can contain expressions and other statements.
- Program is a collection of statements.