Annotation of 43BSD/contrib/icon/book/16/ltree.icn, revision 1.1.1.1

1.1       root        1: procedure ltree(stree)
                      2:    local a
                      3:    stree ?
                      4:       if a := [tab(upto('('))] then {  # start with value
                      5:          move(1)
                      6:                                        # add subtrees
                      7:          while put(a,ltree(tab(bal(',)')))) do
                      8:             move(1)
                      9:          }
                     10:       else a := [tab(0)]               # leaf
                     11:    return a
                     12: end

unix.superglobalmegacorp.com

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