Answer to Exercise 62

| ANSWER TO EXERCISE 62
    [ ParseNoun;
      if (WordLength(wn)==1 && WordAddress(wn)->0 == '#') return 1;
      if (WordLength(wn)==1 && WordAddress(wn)->0 == '*')
      {   parser_action = ##PluralFound; return 1; }
      return -1;
    ];

Back to the exercise in section 24

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