Qbasicnews.com
January 26, 2020, 02:51:58 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: 1 [2] 3
  Print  
Author Topic: HELP AGAIN  (Read 8080 times)
oracle
*/-\*
*****
Posts: 3652



WWW
« Reply #15 on: June 05, 2003, 07:44:15 PM »

Guys... This was the perfect chance to throw a link to the FAQ, or the correct QBOHO page, and you blew it!!!  :wink:

Wasn't this sort of question what the FAQ was for??? So toonski didn't have to write out all that stuff?

This thread should have gone like this:

tomlewis86: help (abridged)
agamemnus: http://faq.qbasicnews.com/answer
tomlewis86: thanks
Logged

Agamemnus
x/ \z
*****
Posts: 3491



« Reply #16 on: June 05, 2003, 07:46:57 PM »

.......

Quote from: "Agamemnus"

In the QB main screen, Press ALT+C. Press H. Click on the DATA TYPES link. Click on the STRINGS list.
Logged

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.
seph
Na_th_an
*****
Posts: 1915



« Reply #17 on: June 05, 2003, 07:49:15 PM »

Quote from: "tomlewis86"
Did u just say that coz u dont know wot 2 do urself!!!??


Yep. None of us know how to program. Smiley
Logged

earn.
seph
Na_th_an
*****
Posts: 1915



« Reply #18 on: June 05, 2003, 07:51:27 PM »

Quote from: "tomlewis86"
could u stop talkin bout copulating please n help me?


Man, don't you just LOOOOVE copulating? It's soooo fun!

What do you guys think? Should we be extremely sarcastic or mean to this guy? I mean, he has the balls to come in here, not knowing a damn thing about programming, and ask why his program isn't working. I mean, he reminds me of the young, stupid me!
Logged

earn.
seph
Na_th_an
*****
Posts: 1915



« Reply #19 on: June 05, 2003, 07:55:00 PM »

Also, I don't ever read the manual. Why? Well, I don't know where the manual is. Actually, I only heard about it from RTFM.
Is this it? http://qbasicnews.com/qboho/
Logged

earn.
Agamemnus
x/ \z
*****
Posts: 3491



« Reply #20 on: June 05, 2003, 10:02:02 PM »

well everyone knows that rtfm means look at the blatantly obvious qb help...
Logged

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.
seph
Na_th_an
*****
Posts: 1915



« Reply #21 on: June 05, 2003, 10:03:24 PM »

Oh. Yeah, I did that quite a few hundred times when I was like 10.
Logged

earn.
oracle
*/-\*
*****
Posts: 3652



WWW
« Reply #22 on: June 05, 2003, 10:09:56 PM »

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.
Logged

na_th_an
*/-\*
*****
Posts: 8244



WWW
« Reply #23 on: June 06, 2003, 10:05:45 AM »

Quote from: "toonski84"
*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.
Logged

SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Neo
Na_th_an
*****
Posts: 2150



« Reply #24 on: June 06, 2003, 10:11:27 AM »

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.
Logged
Glenn
I hold this place together
*****
Posts: 786



WWW
« Reply #25 on: June 06, 2003, 10:27:22 AM »

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 from: "Phydaux"
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)
Logged

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.
Neo
Na_th_an
*****
Posts: 2150



« Reply #26 on: June 06, 2003, 10:31:23 AM »

Here's QBOHO, FAQ, QB Help itself, ..., internet, ... there is so much to learn from

But why, ..., why don't they read that stuff?
Logged
oracle
*/-\*
*****
Posts: 3652



WWW
« Reply #27 on: June 06, 2003, 07:58:24 PM »

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.
Logged

Hexadecimal Disaster
Been there, done that
*****
Posts: 1123



« Reply #28 on: June 06, 2003, 11:36:29 PM »

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.
Logged

img]http://usuarios.vtr.net/~disaster/sigs/annoyizer.php[/img]
oracle
*/-\*
*****
Posts: 3652



WWW
« Reply #29 on: June 06, 2003, 11:45:57 PM »

But still the WIKI...
Logged

Pages: 1 [2] 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!