I wrote: >+ for (lastat = &attypes[0], i = 1; i <= timecnt; i++) Oops, that should be "i < timecnt". -zefram