As you may notice, there is some redundant typing here since both routines
have an almost identical body. There is a good way of dealing with this
using a tool called a text preprocessor, but using Copy-Paste shoudl
be enough for you.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.