Page 222 -
P. 222
modular programming
A late night email ruins your day
A few days after the demo, you get a late night email from the
friend who wrote the second program (based on your code):
Hi,
Sorry to contact you so late at night, but there‛s been a *major
problem* with the new POS systems. I created the program for
the register in the gym, based on your code, plus a few other
amendments, and it works great! :-) But the problem isn‛t with my
code; it‛s with your POS program running in the coffee bar. The
boss just heard back from his new bank manager saying there‛s
been some sort of data corruption in the transactions.txt file. I
don‛t know what the problem is, but the boss seems mighty
upset and he wants you to go in first thing in the morning and
sort things out.
See you in the morning!
Something really strange has happened. Even though your code used
to work, it has suddenly started to go wrong. Meanwhile, your friend’s
program, which is really just a modified copy of your program, is
working perfectly.
Looks like you better get to the health club bright and
early tomorrow morning and see what’s happened.
you are here 4 187