Annotation of 43BSD/contrib/icon/book/17/disp.icn, revision 1.1.1.1

1.1       root        1: procedure disp(deck)
                      2:    static fresh, suits, denoms
                      3:    initial {
                      4:       fresh := &ucase || &lcase
                      5:       suits := repl("C",13) || repl("D",13) || repl("H",13) ||
                      6:          repl("S",13)
                      7:       denoms := repl("A23456789TJQK",4)
                      8:       }
                      9:    write(map(deck,fresh,suits))        # suits
                     10:    write(map(deck,fresh,denoms))       # denominations
                     11: end

unix.superglobalmegacorp.com

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