Annotation of 43BSD/contrib/icon/src/lib/seqimage.icn, revision 1.1

1.1     ! root        1: #      SEQIMAGE(2)
        !             2: #
        !             3: #      Image of Result Sequence
        !             4: #
        !             5: #      Ralph E. Griswold
        !             6: #
        !             7: #      Last modified 7/29/84
        !             8: #
        !             9: 
        !            10: procedure Seqimage(a)
        !            11:    local seq, result, i
        !            12:    seq := ""
        !            13:    i := @a[2]
        !            14:    while result := image(@a[1]) do
        !            15:       if *a[1] > \i then {
        !            16:          seq ||:= ", ..."
        !            17:          break
        !            18:          }
        !            19:       else seq ||:= ", " || result
        !            20:    return "{" || seq[3:0] || "}" | "{}"
        !            21: end

unix.superglobalmegacorp.com

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