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 --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/kGEolB/TM
--------------------------------------------------------------------~-> 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to