Can someone help me on how to make a list of self-defined names like this?

 
 
vantoan3290:


enum Animal {Rabbit, Bear, Dog, Badger, Cat};

input Animal selection = Dog;


int OnInit()
{
   Alert("You selected " + EnumToString(selection));
   return(INIT_SUCCEEDED);
}

void OnDeinit(const int reason)
{}

void OnTick()
{}