Passable Relations

version 1 by Ron Newcomb

  • Home page
  • Beginning
  • Previous
  • Next

  • Section: The Printing a Relation Activity

    Much like the printing a parser error activity, we can use this activity if we Say any relations:
        Rule for printing a relation when the relation to print is the friendship relation: say "friends".
        Rule for printing a relation when relation to print is containment relation: say "has".

    In order to avoid using indexed text on the Z-machine (and save memory), this activity will print a number by default. Glulx will print the name of relations correctly.