Annotation of researchv10dc/cmd/pascal/libpc/SUBSCZ.c, revision 1.1

1.1     ! root        1: /* Copyright (c) 1979 Regents of the University of California */
        !             2: 
        !             3: static char sccsid[] = "@(#)SUBSCZ.c 1.3 6/10/81";
        !             4: 
        !             5: 
        !             6: long
        !             7: SUBSCZ(i, upper)
        !             8: 
        !             9:        long    i, upper;
        !            10: {
        !            11:        if (i < 0 || i > upper) {
        !            12:                ERROR("Subscript value of %ld is out of range\n", i);
        !            13:                return;
        !            14:        }
        !            15:        return i;
        !            16: }

unix.superglobalmegacorp.com

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