uhh how do I do ths

Blitz3D Forums/Blitz3D Beginners Area/uhh how do I do ths

Function buy()
Print"what do you want to buy"
Print "you have " +money#+ "money"
item$=Input()
If money#=money#-item$+"#" =>0
	item$=item$+1
	money#=money#-item$+"#"
Else 
	Print"you do not have anoth money!
EndIf 
End Function


so the problem is item$ will be eqaul to a global with the amount it costs stored in it! but It won't let em do it is there a way to get around it if you understand