1
<HTML><HEAD><TITLE>Answer to Exercise 64</TITLE></HEAD>
2
<BODY BGCOLOR="#FFFFFF">
3
<TABLE><TR><TD Valign="top"><IMG SRC="../icons/exercise.gif" ALT="??"><TD bgcolor="#FAA89B"><B>ANSWER TO EXERCISE 64</B><TR><TD><TD>
7
Global c_warned = false;
11
for (flag=true:flag:flag=false)
13
if (j=='cherub' or j==self.name) flag=true;
14
if (j=='cherubs' && (~~c_warned))
16
parser_action=##PluralFound; flag=true;
17
print "(I'll let this go once, but the plural of cherub is cherubim.)^";
20
{ parser_action=##PluralFound; flag=true; }
27
Then again, Shakespeare even wrote "cherubins'' in 'Twelfth Night',
28
so who are we to censure?
30
<HR>Back to <A HREF="../section25.html#ex64">the exercise in section 25</A><HR>
31
<SMALL><I>Mechanically translated to HTML from third edition as revised 16 May 1997. Copyright © Graham Nelson 1993, 1994, 1995, 1996, 1997: all rights reserved.</I></SMALL></BODY></HTML>