f_choice_array added to handle numeric input for menu choices. Numeric input is handled by an array CHOICE[XNUM].