enumNum Function

Retrieves the ID of the specified enumeration type.


int enumNum(enum enum)

Parameter

Description

enum

The enumeration for which to return the ID.

The ID of the specified enumeration type.

static void enumNum(Args _args)
{
    int i;
    ;
    i = enumNum(ABC);
    print i;
    pause;
}

Community Additions

ADD
Show: