I've gotta go stack wood, so this is quickk and needs fixing, but this is the sort of thing I was thinking:
Code:count = count + 1 If count < 33 then address = 1 'all "counts" less than 33 point to address 1 if count < 1 then address = 0 'unless count is 0. Then it points to address 0 endif else address = count - 33 'all counts above 33 get offset down so they pick up the sequence starting at address 2 endif
steve
edited to add:
Never mind, Steve B already did it.
Bookmarks