Communication via parameters
If no code inside a function could ever communicate with other parts of the program, then functions would not be very useful. Functions would be isolated, comatose, unable to do much of anything. Fortunately, although local variables are invisible outside their code blocks, they can still communicate with other functions via parameters. See Expressions and operators, the next chapter, for information on parameters.