Multi-examine

version 3 by Jon Ingold

  • Home page
  • Beginning
  • Previous



  • Section 3 - retrieving properties from i6 class objects

    To decide if we can print (p - a property) for the/-- representative object:
        let N be indexed text;
        let N be "[p for representative object]";
        if N exactly matches the text "", no;
        say "[N][line break]";
        yes.

    To say the plural for the/-- representative object:
    (- PrintFromClass(plural); -).


    To say (p - an object) for the/-- representative object:
    (- PrintFromClass({p}); -).

    Include (-

    [ PrintFromClass prop;
        PrintText((multiple_object-->1).(+representative-item+)::prop);
    ];

    -).




    Multi-examine ends here.