Annotation of 43BSD/contrib/icon/book/14/cross1.icn, revision 1.1.1.1

1.1       root        1: procedure cross(word1,word2)
                      2:    local i, j
                      3:    if i := upto(word2,word1)
                      4:    then {
                      5:       j := upto(word1[i],word2)
                      6:       every write(right(word2[1 to j - 1],i))
                      7:       write(word1)
                      8:       every write(right(word2[j + 1 to *word2],i))
                      9:       write()
                     10:       }
                     11:    return
                     12: end

unix.superglobalmegacorp.com

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