Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HELP AGAIN
#21
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.
Reply
#22
Oh. Yeah, I did that quite a few hundred times when I was like 10.
earn.
Reply
#23
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.
Reply
#24
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.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#25
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.
Reply
#26
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.
Reply
#27
Here's QBOHO, FAQ, QB Help itself, ..., internet, ... there is so much to learn from

But why, ..., why don't they read that stuff?
Reply
#28
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.
Reply
#29
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]
Reply
#30
But still the WIKI...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)