Hi All,
I am new to PureBasic and have an odd issue which I am sure has an easy fix?
When I save a program, and later open it, I may try some changes that I don't want to keep (thus, leaving the original saved version as it was).
However, I have noticed that PureBasic saves the 'test changes' even though I have not hit Save.
I have disabled the Autosave option in Preferences > Editor and yet it still saves what I don't want to be saved?
Is there any way to only save when I click 'Save'?
Thanks in advance
Saving when you don't want it to...
Re: Saving when you don't want it to...
I'm not sure what's going wrong, but I have auto-save turned off and it never saves unless I click the Save icon.
Re: Saving when you don't want it to...
Hi,
if you make 'test changes' and want to compile the program it has to be saved,
else you compile the file which is stored on the disk without your changes.
But you can always go back with the Sessionhistory function.
Or use CompilerIf
Or save it with a different name
Or ...
...
...
Bernd
if you make 'test changes' and want to compile the program it has to be saved,
else you compile the file which is stored on the disk without your changes.
But you can always go back with the Sessionhistory function.
Or use CompilerIf
Or save it with a different name
Or ...
...
...
Bernd
Re: Saving when you don't want it to...
The compiler could get the input directly from the IDE, or from a temporary saved file.infratec wrote:if you make 'test changes' and want to compile the program it has to be saved,
else you compile the file which is stored on the disk without your changes.
Enabling the session-history is a no-go with latest 'stable' LTS release.infratec wrote:But you can always go back with the Sessionhistory function.
Re: Saving when you don't want it to...
No it doesn't. I can load a source, make some changes, hit F5 to compile/run it, then quit after; all without the source being saved or changed.infratec wrote:if you make 'test changes' and want to compile the program it has to be saved
Re: Saving when you don't want it to...
Here it works without problems. (Win7 x64 with PB5.42 x86)Danilo wrote:Enabling the session-history is a no-go with latest 'stable' LTS release.
Last edited by infratec on Wed Mar 16, 2016 11:20 am, edited 1 time in total.
Re: Saving when you don't want it to...
Lucky you!infratec wrote:Here it works without problems. (Win7 x64 with PB5.42 x86)

Any specific reason you still use PB x86 on x64 OS?