• You can use a FOR LOOP if for example you want to allow three login attempts before a screen comes up saying you've been locked out. You can use a DO... WHILE loop or DO...UNTIL loop. When you say "WHILE DOESN'T WORK" it sounds as though your real question ought to be what is wrong with this bit of code using a while loop.

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy