Annotation of 43BSDReno/pgrm/dbx/tests/pc/enum.p, revision 1.1

1.1     ! root        1: program enumtest (input, output);
        !             2: type
        !             3:     Color = (RED, GREEN, BLUE);
        !             4: 
        !             5: var c1, c2 : Color;
        !             6: 
        !             7: procedure P (c : Color);
        !             8: begin
        !             9:     writeln('c = ', ord(c):1);
        !            10: end;
        !            11: 
        !            12: begin
        !            13:     c1 := BLUE;
        !            14:     c2 := GREEN;
        !            15:     P(RED);
        !            16: end.

unix.superglobalmegacorp.com

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