Page 1 of 1

get default tag.dat path regardless of tagload()ing

Posted: 29 Jan 2017 16:17
by bdeshi
My XYplorer neurons might be a little rusty; is there any convenient way to find the default tag database file without actually having to reload it with

Code: Select all

/*::echo*/ tagload("")
?

Re: get default tag.dat path regardless of tagload()ing

Posted: 01 Feb 2017 10:13
by admin
No way.

But the default DB is usually "<xydata>\tag.dat" unless another DB is specified in Admin.ini.

Re: get default tag.dat path regardless of tagload()ing

Posted: 01 Feb 2017 11:57
by bdeshi
hmm. No way around parsing ini? Maybe you could have a <xytagdatdef> to point to default db, but that sounds like asking too much even to my own ears.

Re: get default tag.dat path regardless of tagload()ing

Posted: 01 Feb 2017 12:07
by admin
SammaySarkar wrote:Maybe you could have a <xytagdatdef> to point to default db...
I had the same thought so I guess it's okay. :)