Posts: 11
Threads: 6
Joined: Jun 2003
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
Posts: 3,368
Threads: 195
Joined: Jan 2003
R T F M
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,166
Threads: 62
Joined: Apr 2003
Quote:R T F M
4 teh n00bs aote tare, tis menz red teh fckign manuel.
am an asshole. Get used to it.
Posts: 11
Threads: 6
Joined: Jun 2003
WOT FUCKIN MANUAL!!
Did u just say that coz u dont know wot 2 do urself!!!??
Posts: 1,166
Threads: 62
Joined: Apr 2003
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.
am an asshole. Get used to it.
Posts: 11
Threads: 6
Joined: Jun 2003
i tried wot u sed but the message 'Type mismatch' came up!
Wot's wrong?
Tom.
Posts: 1,166
Threads: 62
Joined: Apr 2003
Quote:They're copulating on my desk...
I hope you know "copulating" means to have sex in teh vagina.
am an asshole. Get used to it.
Posts: 11
Threads: 6
Joined: Jun 2003
could u stop talkin bout copulating please n help me?
Posts: 3,368
Threads: 195
Joined: Jan 2003
In the QB main screen, Press ALT+C. Press H. Click on the DATA TYPES link. Click on the STRINGS list.
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: 37
Threads: 8
Joined: May 2003
team.member$ = "bob"
PRINT team.member$
LA BLA BLA