トピック
Gold GoldNoway

Hey guys, I could really use some help : How do I reset a variable when it hits a certain number, please ?

I got an error when using "if A=50 then A=0"
0そうだね
プレイ済み
返信[1]
親投稿
Austin Drazil100
Problem isn't the trying to reset the variable. Single = in most all programming languages is specifically reserved for setting variables. You need == to test if they are equal to something.
1そうだね
プレイ済み
返信[2]
親投稿
Gold GoldNoway
You're right, thanks :)
0そうだね
プレイ済み