トピック
falnshower TheFinalAct1

Type mismatch

I'm trying to make a game with an HP counter, and I want it to show as "HP:" + (The numerical variable for HP). When I do this though, it gives me a type mismatch. Is there any way to do this?
1そうだね
未プレイ
返信[1]
親投稿
V360 TheV360
Use STR$() to change a number into a string.
3そうだね
プレイ済み
返信[2]
親投稿
falnshower TheFinalAct1
Thanks!
0そうだね
未プレイ
返信[3]
親投稿
Hanzo rzsense
FORMAT$() is also available.
0そうだね
未プレイ
返信[4]
親投稿
Hanzo rzsense
Actually, you can print HP without changing number into string as follows. ?"HP:";:?(numenical variable)
0そうだね
未プレイ
返信[5]
親投稿
Hanzo rzsense
I'm sorry for misspelling numerical.
0そうだね
未プレイ