Additional Interests
Travel starts with statement #4 and ends with statement #30.
60's starts with statement #31 and ends with statement #54.
Something visual will help you realize what is currently happening here. Look
at the two starting statements side by side:
Fig. 1.38
They're not exactly the same, are they? One talks about Constant 4097 and the
other talks about Constant 4101.
Look at the returns. The first one says to go to the next statement (5) if
true, and if false, to jump down to the next routine (31). 31 is where 60's begins.
The second one says to go to the next line (32) if true, and if false, to return
an Error and stop right there.
The ending statements are completely different. The first one for travel goes
2 statements beyond where the one for 60's stops. The ending
for the 60's if you'll notice, is looping back to Travel's statement 29. So actually,
Travel's ending is also doubling as the end for the second routine of
the 60's. Confusing, ain't it?
The bottom line here, folks, is that although these two routines can co-exist
quite nicely as they are, once you start adding to the bunch, none except for
the first two will work correctly. If we are going to add to what is already present
in behavior #4109, we must make some modifications to the scripts,
and I'll be showing you how very soon.
|