On Friday 03 November 2006 13:35, John Lange wrote: > state->pos %= state->class->total_files; > > ---- > > Isn't that just setting state->pos equal to the abs() number of files > every time? I'm reading %= as modulus which is the absolute value > correct? Modulus == divide by, and take the remainder -- Tilghman