Annotation of researchv10dc/cmd/icon/tests/expr07.icn, revision 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("t := table() ----> ",image(t := table()) | "none")
        !            10:    write("every t[1 | 2.0 | &output | &cset | [] | \"hello\" | main | 2 | table()] := ?100 ----> ",image(every t[1 | 2.0 | &output | &cset | [] | "hello" | main | 2 | table()] := ?100) | "none")
        !            11:    write("a := sort(t,3) ----> ",image(a := sort(t,3)) | "none")
        !            12:    write("every i := 1 to *a - 1 by 2 do write(image(a[i]),\" \",a[i + 1]) ----> ",image(every i := 1 to *a - 1 by 2 do write(image(a[i])," ",a[i + 1])) | "none")
        !            13:    write("a := sort(t,4) ----> ",image(a := sort(t,4)) | "none")
        !            14:    write("every i := 1 to *a - 1 by 2 do write(image(a[i]),\" \",a[i + 1]) ----> ",image(every i := 1 to *a - 1 by 2 do write(image(a[i])," ",a[i + 1])) | "none")
        !            15: end

unix.superglobalmegacorp.com

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