G
Guest
Hello,
Thanks for reviewing my question. I would like to know why I am getting a
syntax error on the following:
enum WD_INDICE {DAY,WEEK,MONTH,YEAR};
int[] wndCount = new int [ WD_INDICE] {0, 0, 0, 0};
I would like to index into the array using the enums like wndCount[DAY].
Thanks for the help.
Peter
Thanks for reviewing my question. I would like to know why I am getting a
syntax error on the following:
enum WD_INDICE {DAY,WEEK,MONTH,YEAR};
int[] wndCount = new int [ WD_INDICE] {0, 0, 0, 0};
I would like to index into the array using the enums like wndCount[DAY].
Thanks for the help.
Peter