Ah. This should be my 3rd quick question since I joined this forum.
As the title says. What will happen if you declare a variable after it have been declared, especially a *temp one?
I have a sub routine, and for some reason, it contains a single *temp command. That says, re-calling this sub routine will essentially re-declare the temporary variable.
And again for some reason, I found myself quite lazy to test it by myself (itās 2 A.Mā¦ what am I doing late here?)
Anyway, is it okay? What will be happened if it isnāt?
Test it and see. If youāre too lazy to test it, why should you expect others to test it out for you? If itās something you know how to work out the answer, why donāt you do that and then share your result with us?
If itās that concerning of an issue, why donāt you just declare the temp variable earlier in the scene, then just have the subroutine set the variable? I can guarantee thereās no error for setting a variable when the variable has already been set.
Well, I just re-read my code and I think I found the solution. Since this variable only used in a *label, I think I can declare the variable just below the *label
Wellā¦
Thank you everyone, for the motivations and suggestion
Lol I m not a programmer or code master just a simple game hacker and itās not new to me when u first declare a value to a variable it will be itās base value and any further changes will be made on the base .I hope u know about flow chart right there is a loop where u can possibly re adjust the value to itās original rate .( And I know this because I try to crack your game stats and sometimes it will lead to error .Else it will lead to reset value to itās original ie before my change )