Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HELP AGAIN
#1
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
Reply
#2
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.
Reply
#3
Quote:R T F M

4 teh n00bs aote tare, tis menz red teh fckign manuel.
am an asshole. Get used to it.
Reply
#4
WOT FUCKIN MANUAL!!

Did u just say that coz u dont know wot 2 do urself!!!??
Reply
#5
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.
Reply
#6
i tried wot u sed but the message 'Type mismatch' came up!

Wot's wrong?

Tom.
Reply
#7
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.
Reply
#8
could u stop talkin bout copulating please n help me?
Reply
#9
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.
Reply
#10
team.member$ = "bob"
PRINT team.member$
LA BLA BLA
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)