Functions and Subroutines
- Why to use subroutines?
- Subroutines
- Variable number of parameters
- Recursive subroutines: factorial
- Recursive subroutines: Fibonacci
- Sort using a function
- Return a list
- Return several elements
- Error handling with eval - files
- Error handling with eval - two calls
- Exercise: Subroutines
- Exercise: Number guessing in sub
- Solution: Number guessing in sub