Questions Regarding flags, END IF, and the INPUT command:by Negative (no login)
Questions Regarding flags, END IF, and the INPUT command:
Sorry for the mass amount of questions, and thank you for the previous answers, but i got more =]
-What is a flag, same thing as a Boolean?
-I seen in a lot of QBasic code, they don't always use the END IF command after IF. Is this correct? If so when should you use the END IF command and when not?
-Whenever I use the INPUT command like this: "INPUT a%", and on the Output screen I type in text it gives me the "Redo from start" error. However when I type in "d" or "e" it doesn't give me an error, instead it reacts like if you'll type in numbers.
-Having multiple variables after the INPUT command causes problems:
INPUT A, B, C
It gives me the "Redo from start" error no matter what i type (numbers or text), why? I believe I tried this and it worked before..
Return to Index
|Response Title||Author and Date|
|Some more answers:||Solitaire on Oct 14|
|i modified the first example a bit||on Oct 27|
|Re: sorry||on Oct 15|
|Where?||Negative on Oct 28|
|Re: Where?||on Oct 28|