"Dead" bug?

MikeH

Well-Known Member
Licensed User
Longtime User
So, I have this silly game app thats a few years old, lately its been crashing.

B4X:
Sending data to remote compiler.    Error
B4i line: 910
If Dead > Rnd(12, 20) And Rnd (0, 3) > 1 And PacManFromRight.Enabled = False Then...
expected identifier

There's another line to increment "Dead" and one that starts PacManFromLeft. Same error.

To fix it I simply renamed the variable to "unDead" and now my app compiles and runs fine.

Weird? ?:oops:?
 

hatzisn

Expert
Licensed User
Longtime User
Not at all. Sometime it needs a minor bug to kill a disease. Just kidding... ??
 

hatzisn

Expert
Licensed User
Longtime User
The Romans would call it a miracle of Janus.
 

hatzisn

Expert
Licensed User
Longtime User
Top