Annotation of 43BSD/contrib/icon/test/std15.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("cset(2) ----> ",image(cset(2)) | "none")
                     10:    write("cset(2.0) ----> ",image(cset(2.0)) | "none")
                     11:    write("cset(2.7) ----> ",image(cset(2.7)) | "none")
                     12:    write("cset(\"2\") ----> ",image(cset("2")) | "none")
                     13:    write("cset(\" 2\") ----> ",image(cset(" 2")) | "none")
                     14:    write("cset(\"2 \") ----> ",image(cset("2 ")) | "none")
                     15:    write("cset(\"+2\") ----> ",image(cset("+2")) | "none")
                     16:    write("cset(\"-2\") ----> ",image(cset("-2")) | "none")
                     17:    write("cset(\"- 2\") ----> ",image(cset("- 2")) | "none")
                     18:    write("cset(\" -    2 \") ----> ",image(cset(" -    2 ")) | "none")
                     19:    write("cset(\"\") ----> ",image(cset("")) | "none")
                     20:    write("cset(\"--2\") ----> ",image(cset("--2")) | "none")
                     21:    write("cset(\" \") ----> ",image(cset(" ")) | "none")
                     22:    write("cset(\"-\") ----> ",image(cset("-")) | "none")
                     23:    write("cset(\"+\") ----> ",image(cset("+")) | "none")
                     24:    write("cset(\".\") ----> ",image(cset(".")) | "none")
                     25:    write("cset(\".3\") ----> ",image(cset(".3")) | "none")
                     26:    write("cset(\"0.3\") ----> ",image(cset("0.3")) | "none")
                     27:    write("cset(\" . 3\") ----> ",image(cset(" . 3")) | "none")
                     28:    write("cset(\"e2\") ----> ",image(cset("e2")) | "none")
                     29:    write("cset(\"22222222222222222222222222222222222222222222222222222222222\") ----> ",image(cset("22222222222222222222222222222222222222222222222222222222222")) | "none")
                     30:    write("cset(\"3e500\") ----> ",image(cset("3e500")) | "none")
                     31:    write("cset(\"7r4\") ----> ",image(cset("7r4")) | "none")
                     32:    write("cset(\"4r7\") ----> ",image(cset("4r7")) | "none")
                     33:    write("cset(\"4r 7\") ----> ",image(cset("4r 7")) | "none")
                     34:    write("cset(\"7r 4\") ----> ",image(cset("7r 4")) | "none")
                     35:    write("cset(\"16rff\") ----> ",image(cset("16rff")) | "none")
                     36:    write("cset(\"36rcat\") ----> ",image(cset("36rcat")) | "none")
                     37:    write("cset(\"36Rcat\") ----> ",image(cset("36Rcat")) | "none")
                     38:    write("cset(\"36rCAT\") ----> ",image(cset("36rCAT")) | "none")
                     39:    write("cset(\"1r1\") ----> ",image(cset("1r1")) | "none")
                     40:    write("cset(\"2r0\") ----> ",image(cset("2r0")) | "none")
                     41:    write("&cset ++ [] ----> ",image(&cset ++ []) | "none")
                     42: end

unix.superglobalmegacorp.com

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