In my project im working on i have quite a few if and else statements that only need to be checked while its false and then one true it wont ever change. Is there a way to make flash stop checking code or even delete code when its not needed?
EG:
if ((FirstRun == false) and (i>=24)) {
FirstRun = true;
}
This is just an example, but when FirstRun = true its not ever going to be changed but flash is still going to check if ((FirstRun == false) and (i>=24)), can i stop this from happening, can you delete functions at runtime?




Reply With Quote