On Fri, 6 Dec 2002 05:42, Chris Pine wrote: > ----- Original Message ----- > gets == 'quit' won't happen, because the string will be 'quit\n' :-) > ---------------------------- > > D'oh! This brings up a very important point ... it really goes without saying that every piece of code in the tutorial should be tested, running code. There's nothing more frustrating to a newbie (or even a seasoned programmer, trying to learn something new) than typing something in, having it fail and not knowing whether they've made a mistake or whether it's a typo in the documentation. H.