tagexport() after tagload(), in memory, dirty tags

Things you’d like to miss in the future...
Post Reply
highend
Posts: 13274
Joined: 06 Feb 2011 00:33

tagexport() after tagload(), in memory, dirty tags

Post by highend »

If I export dirty tags into a file:
tagexport("D:\1.dat", "", , 2);

and after restarting the instance without saving import them back into memory:
tagload("D:\1.dat", 2);

they aren't marked as dirty so that text tagexport(, "", , 6); doesn't see them now.

They are in memory only at this point, non-written. They must be considered as dirty in this case...
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: tagexport() after tagload(), in memory, dirty tags

Post by admin »

tagload flag 2 merges the loaded tags temporarily, that's not the same as dirty; they are not saved to disk when you save tags:

Code: Select all

2: include     (temporarily merge into current DB in memory; not saved to disk)

Post Reply