[FMPP] Help Evaluating Nested Maps
Brought to you by:
ddekany
|
From: Bruce P. <bpe...@ya...> - 2006-07-12 01:41:28
|
OK,
I'm doing something wrong, again.
This is the structure of my maps:
ABC
||
=>DEF
||
=>GHI
||
=>A1=a
=>A2=b
=>A3=c
=>GHI2
||
=>B1=d
=>B2=e
=>B3=f
Hopefully this description makes sense to you. ABC contains a map DEF and DEF contains a few maps, two of which are GHI, and GHI2.
I am trying to evaluate A1 at the GHI level. This I do as follows:
${ABC.DEF.GHI.A1}
This results in the error that A1 is undefined. If I evaluate ${ABC.DEF.GHI} the error is that a string, etc. is expected but the expression evaluates to a simple hash.
Can you please point me in the right direction? Ultimately, I want to be able to use a variable to represent the GHI level with something like:
${ABC.DEF[x].A1}
But I thought I'd work with the 'simple' case first.
Thanks in advance for your help.
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. |