Annotation of 43BSD/contrib/icon/test/std58.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("abs(1) ----> ",image(abs(1)) | "none")
                     10:    write("abs(-1) ----> ",image(abs(-1)) | "none")
                     11:    write("abs(0) ----> ",image(abs(0)) | "none")
                     12:    write("abs(3.0) ----> ",image(abs(3.0)) | "none")
                     13:    write("abs(0.0) ----> ",image(abs(0.0)) | "none")
                     14:    write("abs(-3.0) ----> ",image(abs(-3.0)) | "none")
                     15:    write("exit(abs(3.0)) ----> ",image(exit(abs(3.0))) | "none")
                     16: end

unix.superglobalmegacorp.com

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