Save bug..
Posted: Wed Mar 03, 2021 11:49 am
Its actually not a real bug.
I encouter a problem by accident.
When i compile a source code and enter the name of the source code, the file is compiled correctly and saved as a exe.
But than i made a little change in the program to test something. No problem. Then i compile the code again to get a exe. By not noticing i saw the name and hit save.
Here is the problem. Normally a program that has to override an already existed program, needs to ask the user if its okay to override the already existed program.
PureBasic compiler(saver) do not ask this. The file is overwritten without asking.
Mainly this is no problem. But in my case it was. cause i wanted the keep the original and use a test file for testing.
So my question is !! can this corrected.
Trying to override a source PB is comming with the questing for overriding the previous file.
thanks
I encouter a problem by accident.
When i compile a source code and enter the name of the source code, the file is compiled correctly and saved as a exe.
But than i made a little change in the program to test something. No problem. Then i compile the code again to get a exe. By not noticing i saw the name and hit save.
Here is the problem. Normally a program that has to override an already existed program, needs to ask the user if its okay to override the already existed program.
PureBasic compiler(saver) do not ask this. The file is overwritten without asking.
Mainly this is no problem. But in my case it was. cause i wanted the keep the original and use a test file for testing.
So my question is !! can this corrected.
Trying to override a source PB is comming with the questing for overriding the previous file.
thanks