Specifying Two or More Ranges in a Single FOR Statement
The following example shows a statement that traverses a loop forward and backward and uses different increment values for each direction:
FOR index_var IN (15 to 21 STEP 2, 21 to 15 STEP -3)
-- statement body
END FOR;