Annotation of 43BSD/contrib/icon/book/04/minmax1.icn, revision 1.1.1.1

1.1       root        1: procedure main()
                      2:    min := max := read()        # initial min and max
                      3:    while line := read() do
                      4:       if line >> max then max := line
                      5:       else if line << min then min := line
                      6:    write("lexically largest line is: ",max)
                      7:    write("lexically smallest line is: ",min)
                      8: end

unix.superglobalmegacorp.com

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