If I have a set of constants named, say,
iConst_1
iConst_2
.
.
iConst_99
Is there a way within code of being able to refer to the values stored by these constants without having to explicitely name each one. Something like...
i = 1
Do until i >99
anArray(i - 1) = "iConst_" & i
i = i + 1
Loop
Obviously the above would simply set the array to contain the string "iConst_1", etc, but is there any similar mechanism for getting the actual value stored by the constant?
iConst_1
iConst_2
.
.
iConst_99
Is there a way within code of being able to refer to the values stored by these constants without having to explicitely name each one. Something like...
i = 1
Do until i >99
anArray(i - 1) = "iConst_" & i
i = i + 1
Loop
Obviously the above would simply set the array to contain the string "iConst_1", etc, but is there any similar mechanism for getting the actual value stored by the constant?