Adam is right about the Repeat-Until and While-Wend. I agree that While-Wend is best for checking for EOF in case you have a blank file situation. However, in other loop situations, say, like displaying a background graphics screen until you get keyboard/mouse input, then a Repeat-Until loop is best. You get at least one screen generated before going to your loop awaiting further direction from the user's input.