EnumConversion in DAX

static void EnumConversion(Args _args)

{

AccountType type;

EnumId e=enumNum(AccountType);

DictEnum denum = new DictEnum(e);

int cnum = denum.values();

int c;

int i;

for(c=0;c<cnum;c++)

{

denum.name();

denum.index2Value(c);

denum.index2Symbol(c);

info(strFmt(“%1″,denum.index2Label(c)));

}

for(i=0;i<4;i++)

{

info(strFmt(“%1″,type));

}

}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: