Okay? And what is actually happening? I know what you want, but you aren't telling what you actually have, and so I can't really help you get there from here, since I don't know where here is.
I can say, however, that if you expect the switch to loop, no. You need to use a while loop for that. (Note that this switch can be a part of that while loop, though).