Get name of mapped parameter.....

From: Lee Bassom (lee.bassom_at_amsjv.com)
Date: 12/20/04


Date: Mon, 20 Dec 2004 11:58:05 +0000

I don't know if this is possible, so I'm asking you guys :)

I want to find out the name of a variable that is part of a structure
and mapped to an array.

e.g.

structure/dummy/
     union
         map
             real*4 dummy_array(10)
         end map
         map
             real*4 dummy1
             real*4 dummy2
             real*4 dummy3
             real*4 dummy4
             real*4 dummy5
             real*4 dummy6
             real*4 dummy7
             real*4 dummy8
             real*4 dummy9
             real*4 dummy10
         end map
     end union
end structure
record/dummy/my_dummy

dummy_array() will always be called dummy_array, but dummy1-dummy10
names can change.

Is there any way, using dummy_array() to find out the name of the mapped
parameter ?

e.g.

what is the parameter name mapped to dummy_array(7) ? Answer dummy7

Any suggestions appreciated,

Thanks