You should use Array, and also ensure that your enumeration value is a continuous set of positive integers starting from 0 (the default is to sort from 0 in your writing order, provided that you do not set other Integer value for one of enum value), this is the correct way to use enumerations as index values, and is faster than dictionaries. Currently, dictionaries in gdscrip should only use strings as index values.
enum { A, B, C}
func test():
var arr_test:=[“B_string","C_string","A_string"]
print(arr_test[A],arr_test[B],arr_test[C]