Annotation of 43BSD/ucb/dbx/tests/mod/dynarrays.mod, revision 1.1

1.1     ! root        1: module main;
        !             2: type
        !             3:     Color = (RED, BLUE, GREEN);
        !             4: var
        !             5:     a : dynarray of array of integer;
        !             6:     i, j : integer;
        !             7: 
        !             8: procedure p (i : integer; var a : array of array of integer; j : integer);
        !             9: begin
        !            10:     a[3, 1] := i;
        !            11:     a[4, 2] := j;
        !            12: end p;
        !            13: 
        !            14: begin
        !            15:     new(a, 10, 5);
        !            16:     for i := 0 to 9 do
        !            17:        for j := 0 to 4 do
        !            18:            a^[i, j] := i;
        !            19:        end;
        !            20:     end;
        !            21:     p(4, a^, 5);
        !            22: end main.

unix.superglobalmegacorp.com

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