Annotation of 43BSD/contrib/icon/test/std23.icn, revision 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("x := [] ----> ",image(x := []) | "none")
        !            10:    write("*x ----> ",image(*x) | "none")
        !            11:    write("every push(x,1 to 10) ----> ",image(every push(x,1 to 10)) | "none")
        !            12:    write("every 1 to 10 do write(pop(x)) ----> ",image(every 1 to 10 do write(pop(x))) | "none")
        !            13:    write("*x ----> ",image(*x) | "none")
        !            14:    write("pop(x) ----> ",image(pop(x)) | "none")
        !            15:    write("pull(x) ----> ",image(pull(x)) | "none")
        !            16:    write("get(x) ----> ",image(get(x)) | "none")
        !            17:    write("every put(x,1 to 10) ----> ",image(every put(x,1 to 10)) | "none")
        !            18:    write("every 1 to 10 do write(get(x)) ----> ",image(every 1 to 10 do write(get(x))) | "none")
        !            19:    write("every push(x,1 to 10) ----> ",image(every push(x,1 to 10)) | "none")
        !            20:    write("every 1 to 10 do write(pull(x)) ----> ",image(every 1 to 10 do write(pull(x))) | "none")
        !            21:    write("pull(&null) ----> ",image(pull(&null)) | "none")
        !            22: end

unix.superglobalmegacorp.com

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