For:

from 1 to 8 in 2 steps. 9 should be the next number, but 8 is the limit

listing:

While

where len is a the length of the list