State file corrupts if all VARS deleted

Discussion around the Swiss Micros DM42 calculator.
Post Reply
overbarg
Posts: 2
Joined: Thu Dec 14, 2017 4:30 am

State file corrupts if all VARS deleted

Post by overbarg » Mon Mar 26, 2018 8:48 pm

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 8 times
Last edited by overbarg on Mon Mar 26, 2018 10:50 pm, edited 1 time in total.

grsbanks
Posts: 628
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK

Re: State file corrupt is REGS deleted

Post by grsbanks » Mon Mar 26, 2018 9:09 pm

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...
Not SwissMicros staff, just an enthusiast.

overbarg
Posts: 2
Joined: Thu Dec 14, 2017 4:30 am

Re: State file corrupt is REGS deleted

Post by overbarg » Mon Mar 26, 2018 10:47 pm

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