Annotation of 43BSD/contrib/icon/test/std01.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("c := 'abcd' ----> ",image(c := 'abcd') | "none")
                     10:    write("c ++:= 'de' ----> ",image(c ++:= 'de') | "none")
                     11:    write("c --:= 'a' ----> ",image(c --:= 'a') | "none")
                     12:    write("c **:= 'd' ----> ",image(c **:= 'd') | "none")
                     13:    write("s := [1,2,3] ----> ",image(s := [1,2,3]) | "none")
                     14:    write("s |||:= s ----> ",image(s |||:= s) | "none")
                     15:    write("s |||:= s ----> ",image(s |||:= s) | "none")
                     16:    write("c |||:= s ----> ",image(c |||:= s) | "none")
                     17: end

unix.superglobalmegacorp.com

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