Improving lists and dictionaries

Alex
I've spent the last couple of days beefing up lists and dictionaries. You can now store any attribute type in a list or dictionary - even other lists and dictionaries, so you can nest them as deeply as you like. I've also made the save/load format more robust, so you can now safely store a stringlist with semicolons, for example.

Latest nightly build is at http://quest.codeplex.com/releases/view/82308

I've been trying to document changes as I go, so the important wiki pages are all the list and dictionary ones at http://quest5.net/wiki/Attribute_Types - let me know if anything is unclear.

Pertex
Fine! Just to be sure: when changing to Q5.4 you have to adept your code to the new structures?

Alex
Yes, if you're migrating an ASLX file from version 530 to 540, you'll need to use the new format.

A quick way to update is to replace:

type="list" with type="simplestringlist"
type="stringdictionary" with type="simplestringdictionary"
type="objectdictionary" with type="simpleobjectdictionary"

Then you can keep using the old semicolon-separated formats. (If you save from the Editor the new XML formats will be used)

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums