version 5 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next

  • Section: Rules for gender questions
    The test the answer to gender questions using the phrase 'the gender understood'. The gender understood takes one of three values, 'Masculine', 'Feminine' or 'Neutral'. 'M', 'F' and 'N' are understood as Masculine, Feminine and Neutral when the player types their response. Neutral is used instead of Neuter as Neuter is defined as an adjective in I7.
    There are two default rules for processing the answers to gender questions.
    The first rule, called the 'invalid gender reply rule' tests whether the player has entered a valid gender. If the player has not entered a valid gender, the outcome is retry if the question is a closed gender question or parse if the question is an open gender question.
    The last rule, called the 'default gender rule', has the outcome exit.