Annotation of 43BSD/contrib/icon/book/05/wordlist2.icn, revision 1.1

1.1     ! root        1: procedure words()
        !             2:    wchar := &lcase ++ &ucase ++ '\'-'
        !             3:    wordlist := []
        !             4:    while line := read() do {
        !             5:       i := 1
        !             6:       while j := upto(wchar,line,i) do {
        !             7:          i := many(wchar,line,j)
        !             8:          put(wordlist,line[i:j])       # add to list
        !             9:          }
        !            10:       }
        !            11:    return wordlist
        !            12: end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.