pgffor's foreach can take an "array" of elements. I need to map those elements using another array(a lookup table) because I need both the elements and there mapped value.
e.g., suppose I an doing some cryptography and have letters mapped to numbers in some non-standard way
\foreach \i in {a,b,c,d,e}
{
\i = \lookup{\i}{\data}
}
where data is, I guess some type of associative array that says stuff like
a = 12, b = 16, c = 3, d = 9, e = 19
which the foreach will then print
a = 12
b = 16
c = 3
d = 9
e = 19
I also can simply another array and I want to step through them simultanously, for of like
\foreach \i,\j in {a,b,c,d,e} , {12,16,3,9,19}
{
\i = \j
}
(I do not want some type of nested loops, that is not what I'm trying to do)
The easiest solution the better. I'm not trying to do anything extremely complex

