10-05-2004, 01:49 AM
10-05-2004, 04:06 AM
This isn't using While...Wend..but here are two ways to do what you are asking for
or if you want it in a loop
very simple stuff...and I really don't see a need for using WHILE/WEND...but if you need it to do that or you want more specific(after all, you didn't post this in the newbie forum) just ask.
Code:
' ____
' /_\__\
'|_____| Sorry I just had to make a house for no apparent reason
INPUT "Retry? Y or N ", choice$
IF choice$ = "y" THEN GOTO retry
IF choice$ = "n" THEN END
or if you want it in a loop
Code:
DO
press$ = INKEY$
IF press$ = "y" then goto retry
IF press$ = "n" then END
LOOP
very simple stuff...and I really don't see a need for using WHILE/WEND...but if you need it to do that or you want more specific(after all, you didn't post this in the newbie forum) just ask.
10-07-2004, 09:56 PM
you might want to change it to lcase$(choice$) = "y". It makes the if case insensitive
10-08-2004, 03:50 AM
Code:
INPUT "Retry? Y or N ", choice$
choice$ = lcase$(choice$)
IF choice$ = "y" THEN GOTO retry
IF choice$ = "n" THEN END
Done
10-11-2004, 06:11 AM
Samorzi,
I'm curious why your subject begins with ISBN. Does it have anything to do with an ISBN book number, or is it some abbreviation like IMHO (in my humble opinion) that I haven't seen yet?
*****
I'm curious why your subject begins with ISBN. Does it have anything to do with an ISBN book number, or is it some abbreviation like IMHO (in my humble opinion) that I haven't seen yet?
*****