Posts: 3,368
Threads: 195
Joined: Jan 2003
well everyone knows that rtfm means look at the blatantly obvious qb help...
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 1,813
Threads: 284
Joined: Mar 2003
Oh. Yeah, I did that quite a few hundred times when I was like 10.
earn.
Posts: 3,343
Threads: 83
Joined: Mar 2003
Seph: ever heard of the "edit" button up in the top-right corner of your posts. Double posting shouldn't be done unless you need to revive an old topic and you were last poster.
Posts: 6,419
Threads: 74
Joined: Mar 2002
Quote:*sigh* the man asked a valid question. Every time you yell "RTFM" at someone instead of answering their question, God kills a kitten.
There are different types of variables (a label representing a value) in qbasic: Numeric (integer, long integer, single pres., double pres.), and string (fixed and regular).
you can't mix and match strings and numeric values, qb assumes all varaibles (in this case, team.member) to be single precision numbers. So you have to specify that team.member is a string, either:
1) by referring to it as team.member$ (variables ending in $ are strings)
2) DIMing it as a string:
Code:
DIM team.member as string
afterwords, any string value must but in quotation marks, otherwise qb assumes it to be another variable (in this case, bob).
Code:
DIM team.member as string
team.member = "Bob"
... has been added to the FAQ.
Posts: 1,845
Threads: 44
Joined: Aug 2002
He forgot about the:
DEFFN command
Code:
DEFINT A-Z : All unexplicitly declared variables from now are integer
DEFLNG A-Z : All unexplicitly declared variables from now are long
DEFSNG A-Z : All unexplicitly declared variables from now are single
DEFDBL A-Z : All unexplicitly declared variables from now are double
DEFSTR A-Z : All unexplicitly declared variables from now are string
Of course you can do also other character instead of the A or Z, but beware that each variable not starting with the letter in range is something else than you defined.
Posts: 704
Threads: 0
Joined: Dec 2002
help you can give anyone beginning *anything* is to point them to sources of information and encourage them to use such sources, so they can *learn for themselves* (and thus become a non-beginner), especially when that information is right at their fingertips.
Quote:I don't mean to be anal here but this is the newbie help forum, where n00bs ask for help. It really doesn't help them by calling them n00bs, and telling them to RTFM when they are in a n00b forum. If you can't handle these questions (even if they pop up time-and-time again) don't look in the newbie help forum.
"He who asks a question is a fool for an hour, he who doesn't ask a question is a fool for ever" -Chinese proverb (probably paraphrased)
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Posts: 1,845
Threads: 44
Joined: Aug 2002
Here's QBOHO, FAQ, QB Help itself, ..., internet, ... there is so much to learn from
But why, ..., why don't they read that stuff?
Posts: 3,343
Threads: 83
Joined: Mar 2003
Because newbies don't know that QBOHO and the WIKIFAQ exist, cos there is no publicity for it. There needs to be links to the FAQ and QBOHO explicitly displayed on the home page of QBnews, like in the place where the "Another World Memory Game" is, that's been there for ages.
Posts: 749
Threads: 4
Joined: Jun 2002
er... If you take into consideration that QBOHO is a web-rendition of the QB Help File, that can be easily accessed in the IDE by pressing F1, the problem isn't the "lack of publicity" of the help/knowledge systems of this website. The problem is something far more scary than that.
img]http://usuarios.vtr.net/~disaster/sigs/annoyizer.php[/img]
Posts: 3,343
Threads: 83
Joined: Mar 2003