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

1.1     ! root        1: module sets;
        !             2: type
        !             3:     Color = (RED, BLUE, GREEN);
        !             4:     ColorSet = set of Color;
        !             5: var
        !             6:     s : ColorSet;
        !             7: 
        !             8: procedure p (var s : ColorSet);
        !             9: begin
        !            10:     s := ColorSet{RED, BLUE};
        !            11: end p;
        !            12: 
        !            13: begin
        !            14:     p(s);
        !            15:     if BLUE in s then
        !            16:        s := s - ColorSet{BLUE};
        !            17:     end;
        !            18: end sets.

unix.superglobalmegacorp.com

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