Annotation of 43BSD/contrib/icon/test/std10.icn, revision 1.1.1.1

1.1       root        1: record array(a,b,c,d,e,f,g)
                      2: 
                      3: procedure dummy(u,v,x,y,z)
                      4:    suspend u | v
                      5:    return x
                      6: end
                      7: 
                      8: procedure main()
                      9:    write("(1,2,3,4,5) ----> ",image((1,2,3,4,5)) | "none")
                     10:    write("every write((1 to 5)(1,2,3,4,5)) ----> ",image(every write((1 to 5)(1,2,3,4,5))) | "none")
                     11:    write("0(1,2) ----> ",image(0(1,2)) | "none")
                     12:    write("1(1) ----> ",image(1(1)) | "none")
                     13:    write("2(1) ----> ",image(2(1)) | "none")
                     14:    write("(-1)(1,2,3) ----> ",image((-1)(1,2,3)) | "none")
                     15:    write("3(1,2,3,&fail) ----> ",image(3(1,2,3,&fail)) | "none")
                     16:    write("every write(2(1 to 5,!\"abc\",1 to 2)) ----> ",image(every write(2(1 to 5,!"abc",1 to 2))) | "none")
                     17:    write("\"a\"(1,2,3) ----> ",image("a"(1,2,3)) | "none")
                     18: end

unix.superglobalmegacorp.com

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