Note 16.2.1.
Some programmers don’t make a distinction between procedures and functions and will call both of these functions. In this book, we are using function for named code that returns a value and procedure for named code that doesn’t return a value.
It is a difference worth paying attention to because of the difference in how we use them - whether we need to worry about doing something with the returned value or not.