Hi there,
Well, like I said in the book, the additional check isn't really necessary. If you check for EOF to see if there is a record, it's more than enough. However, the code is still correct, but it will never reach the BOF status, so you can easily drop it altogether, and just use "Not EOF". Your AND would work equally well.
For a comprehensive explanation of the TIO, check them out at my Web site, located here:
http://Imar.Spaanjaars.Com/WhyNotTry.aspx
You'll find a complete list with all the answers to the TIO sections of TheSoccerSite.
If you have further questions, don't hesitate to ask them here.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
Strangers by
Portishead (Track 3 from the album:
Dummy)
What's This?