Passable Relations

version 1 by Ron Newcomb

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter 2 - The printing a relation activity

    [ This looks like a lot of unnecessary work, but it allows client code some great hooks to control prosaic output. ]
    [ Note that the printing a relation activity cannot be safely nested within itself. ]

    Printing a relation is an activity. The currently printing relation is a number that varies.

    Last for printing a relation: say the printed name of relation the currently printing relation. [say unpunctuated word number 1 in the description of relation the currently printing relation.]

    To say (R - an abstract-relation):
        now the currently printing relation is R as a number;
        carry out the printing a relation activity. [say the printed name of relation R .]

    To decide whether relation to print is/are (R - an abstract-relation): decide on whether or not the currently printing relation is R as a number.