>Do while .T. > blah-blah-blah > If <condition> > LOOP > Endif > blah-blah-blah > SKIP > If EOF() > EXIT > Endif >EndDo >>
>Do while not EOF() > blah-blah-blah > If not <condition > blah-blah-blah > Endif > SKIP >EndDo >>
>Do while not eof() > blah-blah-blah > If <condition> > LOOP > Endif > meat of the problem. > SKIP >EndDoTo me the meat of the problem is significant. It is the real thing we're supposed to code. The rest is incidental. I find it totally acceptable to code these either way. However I prefer the one above. The meat of the work is clearly evident. The loop just precludes getting into the meat of the problem. I would also attempt to make the condition the negative and require the NOT. That would suggest I'm not getting to the meat unless the conditions are met. In effect, I've put a fuse ahead of a sensitive electronic circuit.