inaccessible code?
Maybe I'm stupid and I don't see what's going on, but I got an "inaccessible code" error and I don't understand why.
3 Replies
while (!true)
will never execute
It'll come to the while (!true)
statement, evaluate !true
, see that that's false, then just not run the while loopok i am stupid and forgot to change the variable name
and put the true
and not the name of the bool
ty, i guess the answers is: yes, you are stupid
everyone's stupid sometimes, no worries