The variable is not named globalErrorFlag scroll up and look at the variables at the top of the file. You should find one that is named something that would make sense to use for this.
hey I solved this I just wanted to ask how you Rember your variables like that if I did look at this post I don’t think I would have connected those dots.
If you coded it yourself you would likely remember the variable you used. Or if you forget the name you know where to look for it (and you know it exists).
In this case, unless you remember the variable name you were asked to write you have to read the code as if you didn’t write it. This is just as useful a skill, if not more at times, considering just how much code you have to read and understand that you won’t have written yourself.