Player Experience Upgrade

version 2/111127 by Aaron Reed

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter - Utilities
                        
    To decide which number is the position of first bad word: (- GetFirstNonDictWord() -).

    Include (-

    [ GetFirstNonDictWord myword twn;
        twn=wn;
        wn = 1;
        myword = 0;
        while (myword ~= -1) {
            myword = NextWordStopped();
            if (myword == 0) {
                myword=wn-1;
                wn=twn;
                return wn-1;
            }
        }
        myword=wn-1;
        wn=twn;
        return -1;
    ];

    -).