 For instance in the following code, the terminating index for the loop automatically adjusts should the list of strings be changed.static char *wordlist[] = {
static int listSize = (sizeof(wordlist)/sizeof(wordlist[0]));
int i;

for (i=0; i=0; i--)
Original Pascal has neither array initialization (outside of the case of strings) nor a means of determining arbitrary array sizes at compile time.One way of implementing the above example in Pascal, but without the automatic size adjustment, is