CS 3304: Comparative Languages
Object-Oriented Programming
[
Course Documents
] : [
Object-Oriented Programming
]
Previous
Contents
Next
Keyword Index
Blocks with Parameters
Blocks can have parameters
[:x :y | statements]
If a block contains a relational expression, it returns a Boolean object, true or false
The objects true and false have methods for building control constructs