I now use constructs like this:
ITERSTART
COPY
IF @ eq =
ELSE
IF @ eq =
ELSE
..
ITEREND
But they tend to grow larger than strictly necessary when there are values that you would just want to skip.