@GaG No it wasn't the issue, else is not in parenthesis so it's gonna execute anyway. I know that's not the ideal code :P
P.S- the above guy's solution worked.
I have noticed this many times. Whenever i close bas and shutdown pc then new changes that i did are lost so i goto project backups folder to find those changes and replace. Does anyone know why does this happen ? Any solution so it won't happen in future ?
Did you save your changes before exiting BAS?
