Qbasicnews.com

Full Version: HELP AGAIN
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
I'm making a program where you can select different people to be on you team in a quiz. When you choose a person i want to make that name visible in a team member screen. The code i thought of using was:

team.member = bob
PRINT team.member

All i get when i run this is the number 0!

Any suggestions?!

Tom. :o
R T F M
Quote:R T F M

4 teh n00bs aote tare, tis menz red teh fckign manuel.
WOT FUCKIN MANUAL!!

Did u just say that coz u dont know wot 2 do urself!!!??
dude, you have to but quotes around a string, so this is what you have to do:

DIM team.member AS STRING
team.member = "bob"
PRINT team.member

n00b.
i tried wot u sed but the message 'Type mismatch' came up!

Wot's wrong?

Tom.
Quote:They're copulating on my desk...

I hope you know "copulating" means to have sex in teh vagina.
could u stop talkin bout copulating please n help me?
In the QB main screen, Press ALT+C. Press H. Click on the DATA TYPES link. Click on the STRINGS list.
team.member$ = "bob"
PRINT team.member$
Pages: 1 2 3 4