6 /* called when a subscript is out of range */
8 VOID s_rnge(varn, offset, procn, line)
10 long int offset, line;
14 fprintf(stderr, "Subscript out of range on file line %ld, procedure ", line);
15 while((i = *procn) && i != '_' && i != ' ')
16 putc(*procn++, stderr);
17 fprintf(stderr, ".\nAttempt to access the %ld-th element of variable ", offset+1);
18 while((i = *varn) && i != ' ')
19 putc(*varn++, stderr);