Hi all,
I hope I can describe my wish / problem.
I have a dictionary, let's say "KIDS" that I want to fill with multi-dimensional values.
So, I'd want to say:
KIDS.ADD(JOE) - but JOE is another dictionary.
Then I want to be able to say:
JOE.ADD(AGE) = 12
JOE.ADD(PET) = "GOLDFISH" etc
Problem is that "Joe" would come through a variable.
In essence the structure would be
KIDS - JOE - AGE - value
KIDS - JOE - PET - value
KIDS - SUE - AGE - value
KIDS - SUE - FAVCOLOR - value
etc.
The first ("kids") I can name fixed.
The third ("age", "pet", "favcolor") I can also name/refer to fixed.
But values and kids names are variables.
Can I do this and if so, how?
Thanks,
Jasper
Bookmarks