Thanks for the website too monksnake, but those parenthese aren't obliged. I mean, it works well without them, though it could be useful in more difficult IF-lines.
I.E. :
x = 16
y = 3
IF ((x > 5 AND x < 10) OR y = 3) THEN PRINT "Correct"
Well..
I'm just making a very simple dartboard without the dartboard itself :) .
Just the system behind it in QBasic.
It doens't really matter right? It's useful when you want to edit, but then again, if you number high enough (in xxx) you don't have to worry about that problem.
It may be a bit...
First of all, i would like to see goodday to you because this is my first post and topic at this forum.
When i use two or more IF commands, it uses the last one, i'll give an example. I'm making an simple dartbord by the way:
0 CLS
05 score = 501
10 INPUT "Please typ a throw in numbers:" throw...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.