Annotation of researchv10dc/cmd/icon/tests/expr28.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("f := open(\"foo.baz\",\"w\") ----> ",image(f := open("foo.baz","w")) | "none")
                     10:    write("write(f,\"hello world\") ----> ",image(write(f,"hello world")) | "none")
                     11:    write("close(f) ----> ",image(close(f)) | "none")
                     12:    write("system(\"diff expr28.icn expr28.icn\") ----> ",
                     13:       image(system("diff expr28.icn expr28.icn")) | "none")
                     14: end

unix.superglobalmegacorp.com

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