Programming Course for Bioinformatics and Internet

Arrays


  1. Definition and syntax
    Example
  2. The foreach construct
    Examples for using the foreach construct
  3. A slight diversion - binary assignment operators
  4. Examples for using the foreach construct - cont.
  5. Printing all array elements at once
  6. Accessing individual array elements
  7. Accessing a group of elements from an array
    Assignment of a list into an array slice
    Assignment of an array (or list) into another array
  8. Summary of main concepts until now
  9. Array content: examples
  10. The sort function
  11. The push and shift functions
  12. What will happen if...
  13. How can I know the length of a given array?
  14. Summary

Back to the Programming Course Homepage.