Lines Matching refs:ARRAY
188 function sort(ARRAY, ELEMENTS) {
190 for (j = i; (j-1) in ARRAY && (j) in ARRAY && ARRAY[j-1] > ARRAY[j]; --j) {
191 temp = ARRAY[j];
192 ARRAY[j] = ARRAY[j-1];
193 ARRAY[j-1] = temp;
202 # expects: ARRAY an array of things defined
203 # ELEMENTS number of elements in ARRAY
206 function output(ARRAY, ELEMENTS, TITLE) {
214 sort(ARRAY, ELEMENTS);
218 print "#ifdef " ARRAY[i];
222 print "\toutput(screen, \" " ARRAY[i] "\\n\");";
223 #printf "\toutput(screen, \" %s\\n %s\\n\\n\");\n", comments_ary[ARRAY[i]], ARRAY[i];
224 #printf "\toutput(screen, \" %-35s %s\\n\");\n", ARRAY[i], comments_ary[ARRAY[i]];