Annotation of 43BSD/contrib/icon/book/f/uscore.icn, revision 1.1

1.1     ! root        1: procedure uscore(s)
        !             2:    static labels, trans, max
        !             3:    initial {
        !             4:       labels := "1"
        !             5:       trans := "_\b1"
        !             6:       max := *labels
        !             7:       trans := uscore(string(&cset -- '\b_'))
        !             8:       labels := string(&cset -- '\b_')
        !             9:       max := *labels
        !            10:       }
        !            11:    if *s <= max then
        !            12:       return map(left(trans,3 * *s),left(labels,*s),s)
        !            13:    else return uscore(left(s,*s - max)) ||
        !            14:       map(trans,labels,right(s,max))
        !            15: end

unix.superglobalmegacorp.com

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