??ANSWER TO EXERCISE 65

Because the parser might go on to reject the line it's working on: for instance, if the player typed "shazam splurge'' then the message "Shazam!'' followed by a parser complaint will be somewhat unedifying.


Back to the exercise in section 26
Mechanically translated to HTML from third edition as revised 16 May 1997. Copyright © Graham Nelson 1993, 1994, 1995, 1996, 1997: all rights reserved.