Can i do this?
For example, let's say I have a family Items, with teh private variable Category. I also have a bunch of global variables such as Weapon, Boots, Gloves, Helmet, etc, each set to its own number (Weapons =1, Boots =2, etc). Then, when I check the value of the private variable Category, which is a string, it might return Weapon, which I then want to convert to the corresponding number 1. So the expression would be global('Items.Value('Category')') which I would wnat to return 1, but it doesn't. Any way I can do that somehow? I realize I can just skip the global entirely and make category correspond to the right number. It's just easier in the long run to have text categories instead of having to refer back to a document for what each category number is.