Is it possible to declare constants in an array type structure such that they can be accessed by index??
I realize I could load the constants into an array, but it would be preferrable to know that the array does not change value.
The constants do not actually have to be in an array, but I would like to access them by index such that I can write something like below:
'where density_const is an array of constants
dim fract(10) as double
dim mass(10) as double
dim voluem as double
for i = 0 to 10
mass(i) = density_const(i) * fract(i) * volume
next i
Thanks for your help!!!
I realize I could load the constants into an array, but it would be preferrable to know that the array does not change value.
The constants do not actually have to be in an array, but I would like to access them by index such that I can write something like below:
'where density_const is an array of constants
dim fract(10) as double
dim mass(10) as double
dim voluem as double
for i = 0 to 10
mass(i) = density_const(i) * fract(i) * volume
next i
Thanks for your help!!!