Annotation of 43BSD/contrib/icon/book/16/teq.icn, revision 1.1

1.1     ! root        1: procedure teq(a1,a2)
        !             2:    local i
        !             3:    if *a1 ~= *a2 then fail     # check sizes
        !             4:    if a1[1] ~== a2[1] then fail        # check values
        !             5:    every i := 2 to *a1 do      # check subtrees
        !             6:       if not teq(a1[i],a2[i]) then fail
        !             7:    return a2
        !             8: end

unix.superglobalmegacorp.com

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