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("r := array(1,2,3,4,5,6,7,8,9) ----> ",image(r := array(1,2,3,4,5,6,7,8,9)) | "none") write("r.a ----> ",image(r.a) | "none") write("r.b ----> ",image(r.b) | "none") write("r.c ----> ",image(r.c) | "none") write("r.d ----> ",image(r.d) | "none") write("r.e ----> ",image(r.e) | "none") write("r.f ----> ",image(r.f) | "none") write("type(r) ----> ",image(type(r)) | "none") write("image(r) ----> ",image(image(r)) | "none") write("r.a +:= 0.0 ----> ",image(r.a +:= 0.0) | "none") write("r.b +:= 0.0 ----> ",image(r.b +:= 0.0) | "none") write("r.c +:= 0.0 ----> ",image(r.c +:= 0.0) | "none") write("r.d +:= 0.0 ----> ",image(r.d +:= 0.0) | "none") write("r.e +:= 0.0 ----> ",image(r.e +:= 0.0) | "none") write("r.f +:= 0.0 ----> ",image(r.f +:= 0.0) | "none") write("r.a ----> ",image(r.a) | "none") write("r.b ----> ",image(r.b) | "none") write("r.c ----> ",image(r.c) | "none") write("r.d ----> ",image(r.d) | "none") write("r.e ----> ",image(r.e) | "none") write("r.f ----> ",image(r.f) | "none") write("r := array(\"a\",2,3.5,create x,array(),r,main) ----> ",image(r := array("a",2,3.5,create x,array(),r,main)) | "none") write("every write(image(!r)) ----> ",image(every write(image(!r))) | "none") write("r[1] :=: r.d ----> ",image(r[1] :=: r.d) | "none") write("every write(image(!r)) ----> ",image(every write(image(!r))) | "none") write("r[r] ----> ",image(r[r]) | "none") end