Prev: Statements
Expressions
You can express values in C-- methods using expressions.
The following sections document the various types of expressions in
C--, as well as the types of values they can have when evaluated.
Menu:
- Data Types
- Data types and literal expressions
- Names
- Referring to objects indirectly
- Lists
- Constructing and retrieving from lists
- Dictionaries
- Associating values with data
- Buffers
- Raw byte values for network I/O
- Frobs
- Constructing and using frobs
- Variables
- Local and object variables
- Operators
- Operator syntax and precedence
- Calling Functions
- Making calls to built-in functions
- Sending Messages
- Sending messages to other objects
- Passing Messages
- Passing messages to parents
- Error-Handling Expressions
- Handling errors
- Splicing
- Splicing lists into argument lists