Page 1 of 1

CardData.xml numbering order

Posted: Wed 14 Dec, 2005 7:56 pm
by WebWeaver
Hello Richard,
I just have a quick question about the order the cards are in in the CardData file. Is there a reason that the text in this file would change the order? I have made a clean file that I'm using for all my decks now to start off with and using NoteTab to transfer any deck specific notes. I've found this to work the best for me. However I'm finding that not all the decks have the Note files in numeric order. Is this something that just happens or just something wierd that happened when the deck was set up?

Shari

Re: CardData.xml numbering order

Posted: Thu 15 Dec, 2005 7:59 am
by Programmer
Hi Shari

If you are viewing a CardData.xml file created with a version of the program prior to 6.5 the notes could be in any order.

When a deck does not have a CardData.xml file one is created automatically. It is created without any records for cards. A record is added each time a card is dealt if it does not contain one for that card already. So the records for the cards would be in the order that the cards were originally dealt, probably a random order.

With version 6.5 I added some code to order the notes numerically, to make them easier to read and edit outside the program. You should find if you use the CardData.xml file in question with the current version of the program it re-orders the notes numerically.

Does this match what is happening?

Richard




Re: Re: CardData.xml numbering order

Posted: Tue 20 Dec, 2005 9:24 pm
by WebWeaver
Well it must because I couldn't find it happening anywhere anymore... If I do find one.. I'll let ya know :o)
Thanks!
Shari