hi all,

i have 2 enum type, 4 elements each, i wonder wat is the best way
for me to do
like this in axapta.

if (enum1::typeA && enum2::typeW)
   Do something1
else
   if (enum1::typeA && enum2::typeX)
      Do something 2
   else
      if (enum1::typeA && enum2::typeY)
          do something 3

      .     
      .
      .
      .
          if (enum1::typeD && enum2::Z)
            do something 16

with 2 combinations of 2 enums i will have 16 combinations, any
better
way of it?using enum element position to do looping may be?but as
i know i cannot get enum position like container.

pls provide any idea. thx in advance.

rgds,
daniel







Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to