Annotation of 43BSD/contrib/icon/test/std09.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("one := [1] ----> ",image(one := [1]) | "none")
                     10:    write("two := [2,2] ----> ",image(two := [2,2]) | "none")
                     11:    write("x := one ----> ",image(x := one) | "none")
                     12:    write("x &:= one ----> ",image(x &:= one) | "none")
                     13:    write("x ----> ",image(x) | "none")
                     14:    write("x := one ----> ",image(x := one) | "none")
                     15:    write("x &:= two ----> ",image(x &:= two) | "none")
                     16:    write("x ----> ",image(x) | "none")
                     17:    write("x := one ----> ",image(x := one) | "none")
                     18:    write("x |||:= one ----> ",image(x |||:= one) | "none")
                     19:    write("x ----> ",image(x) | "none")
                     20:    write("x := one ----> ",image(x := one) | "none")
                     21:    write("x |||:= two ----> ",image(x |||:= two) | "none")
                     22:    write("x ----> ",image(x) | "none")
                     23:    write("x := one ----> ",image(x := one) | "none")
                     24:    write("x ===:= one ----> ",image(x ===:= one) | "none")
                     25:    write("x ----> ",image(x) | "none")
                     26:    write("x := one ----> ",image(x := one) | "none")
                     27:    write("x ===:= two ----> ",image(x ===:= two) | "none")
                     28:    write("x ----> ",image(x) | "none")
                     29:    write("x := one ----> ",image(x := one) | "none")
                     30:    write("x ~===:= one ----> ",image(x ~===:= one) | "none")
                     31:    write("x ----> ",image(x) | "none")
                     32:    write("x := one ----> ",image(x := one) | "none")
                     33:    write("x ~===:= two ----> ",image(x ~===:= two) | "none")
                     34:    write("x ----> ",image(x) | "none")
                     35:    write("x + 1 ----> ",image(x + 1) | "none")
                     36: end

unix.superglobalmegacorp.com

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