On Tue, Jan 15, 2002 at 02:06:17PM -0500, Tanton Gibbs wrote: > You could break it up into: > > else if( rx->startindex == 0 ) { > goto OFFSET($2); > } > else { > --rx->startindex > }
Or simply change the condition to 'if (rx->startindex-- == 0)'. But the real question he's asking is: what is correct? Is it better to leave startindex at zero, or is it ok to let it wrap around? (And if so, should it really be signed in the first place?) Probably only Brent Dax can decide.