Interactive Parsing

version 3 by Jon Ingold

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Accessing the Multiples

    [ we get the word length of any dictionary word for free. ]

    Include (-

    [ DictionaryWordLength wordnum ;
        return (dictionary_word_pointer-->(IndexFromWord(wordnum) + 1)) - (dictionary_word_pointer-->IndexFromWord(wordnum));
    ];

    [ DictionaryIndexedWordLength indexnum ;
        return (dictionary_word_pointer-->(indexnum + 1)) - (dictionary_word_pointer-->indexnum);
    ];

    -).