Programming Course for Bioinformatics and Internet
Hashes
- Definition and syntax
- Examples
- Assignment into a hash variable
- Accessing individual hash elements
- Adding and deleting elements to/from a hash.
Checking whether a hash is empty.
- The keys function
- The values function
- Iterating over all elements of a hash using the each function
- Iterating over all hash elements: When should I use
the keys and when the each function?
Back to the
Programming Course Homepage.
Vered Chalifa-Caspi,
lhchalif@bioinformatics.weizmann.ac.il.