Variables and arrays are declared in procedures when the memory locations are needed
only by the procedure that declared them.
You can use the arithmetic assignment operator (+=) to abbreviate the statement intNum
= intNum + 1 as follows: intNum = 1.
When you open a file for output, if the file already exists, the computer erases the
contents of the file before writing any data to it.
If the subscript of an array is not in the acceptable range, the procedure should try to
access the array element to verify the correct range.