State file corrupts if all VARS deleted

Discussion around the SwissMicros DM42 calculator
Post Reply
overbarg
Posts: 3
Joined: Thu Dec 14, 2017 5:30 am

State file corrupts if all VARS deleted

Post by overbarg »

Hi there.

First of all - I _love_ this thing...

I'm running into a strange behaviour (?) where if I delete all of my VARS, it will not save a state file - it will return with a state file corrupt error message.

It doesn't seem to be a problem with saving a state file with no VARS - just if I delete them all before attempting to save a state file. I can provide a state from which I am coming from. The procedure to duplicate would be to CLV all vars and then attempt to save a state.

btw, running the latest update 3.5

Anyone else running into this?
Attachments
vting_state_initial.zip
Initial state file with VARS
(2.65 KiB) Downloaded 206 times
Last edited by overbarg on Tue Mar 27, 2018 12:50 am, edited 1 time in total.
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: State file corrupt is REGS deleted

Post by grsbanks »

Are you also deleting the "REGS" variable? If so, that could be why. It shouldn't cause a problem for the machine state file but I'd like to point the developer in the right direction.

EDIT: d'oh! I should read the topic subject as well as the message itself...
There are only 10 kinds of people in the world: those who understand binary and those who do not.
overbarg
Posts: 3
Joined: Thu Dec 14, 2017 5:30 am

Re: State file corrupt is REGS deleted

Post by overbarg »

Sorry - I posted this before I could change the Subject title.

After some more experimentation, it's not the the REGS var that seems to be the issue - just that all the VARS are deleted, and then a state file saved.
Post Reply