4.3BSD/usr/contrib/icon/test/std15.icn

record array(a,b,c,d,e,f,g)

procedure dummy(u,v,x,y,z)
   suspend u | v
   return x
end

procedure main()
   write("cset(2) ----> ",image(cset(2)) | "none")
   write("cset(2.0) ----> ",image(cset(2.0)) | "none")
   write("cset(2.7) ----> ",image(cset(2.7)) | "none")
   write("cset(\"2\") ----> ",image(cset("2")) | "none")
   write("cset(\" 2\") ----> ",image(cset(" 2")) | "none")
   write("cset(\"2 \") ----> ",image(cset("2 ")) | "none")
   write("cset(\"+2\") ----> ",image(cset("+2")) | "none")
   write("cset(\"-2\") ----> ",image(cset("-2")) | "none")
   write("cset(\"- 2\") ----> ",image(cset("- 2")) | "none")
   write("cset(\" -    2 \") ----> ",image(cset(" -    2 ")) | "none")
   write("cset(\"\") ----> ",image(cset("")) | "none")
   write("cset(\"--2\") ----> ",image(cset("--2")) | "none")
   write("cset(\" \") ----> ",image(cset(" ")) | "none")
   write("cset(\"-\") ----> ",image(cset("-")) | "none")
   write("cset(\"+\") ----> ",image(cset("+")) | "none")
   write("cset(\".\") ----> ",image(cset(".")) | "none")
   write("cset(\".3\") ----> ",image(cset(".3")) | "none")
   write("cset(\"0.3\") ----> ",image(cset("0.3")) | "none")
   write("cset(\" . 3\") ----> ",image(cset(" . 3")) | "none")
   write("cset(\"e2\") ----> ",image(cset("e2")) | "none")
   write("cset(\"22222222222222222222222222222222222222222222222222222222222\") ----> ",image(cset("22222222222222222222222222222222222222222222222222222222222")) | "none")
   write("cset(\"3e500\") ----> ",image(cset("3e500")) | "none")
   write("cset(\"7r4\") ----> ",image(cset("7r4")) | "none")
   write("cset(\"4r7\") ----> ",image(cset("4r7")) | "none")
   write("cset(\"4r 7\") ----> ",image(cset("4r 7")) | "none")
   write("cset(\"7r 4\") ----> ",image(cset("7r 4")) | "none")
   write("cset(\"16rff\") ----> ",image(cset("16rff")) | "none")
   write("cset(\"36rcat\") ----> ",image(cset("36rcat")) | "none")
   write("cset(\"36Rcat\") ----> ",image(cset("36Rcat")) | "none")
   write("cset(\"36rCAT\") ----> ",image(cset("36rCAT")) | "none")
   write("cset(\"1r1\") ----> ",image(cset("1r1")) | "none")
   write("cset(\"2r0\") ----> ",image(cset("2r0")) | "none")
   write("&cset ++ [] ----> ",image(&cset ++ []) | "none")
end