funkyd77
Jan 9th, 2000, 03:14 PM
Hello,
Does anyone know if you can or cannot declare constant arrays in visual basic. just like how you declare:
private const myfield as integer = 23
i want to do something like:
private const myarray(2) as integer = {1,2,3}
or who knows how it actually would be written. Not me, thats why i'm asking. I get the feeling it's not possible since none of the online documentation mentions anything about it - but i'd love to hear from anyone else who might know either way.
The purpose of this is to declare a "load table" for a structural engineering application - basically a table of constant values.
Does anyone know if you can or cannot declare constant arrays in visual basic. just like how you declare:
private const myfield as integer = 23
i want to do something like:
private const myarray(2) as integer = {1,2,3}
or who knows how it actually would be written. Not me, thats why i'm asking. I get the feeling it's not possible since none of the online documentation mentions anything about it - but i'd love to hear from anyone else who might know either way.
The purpose of this is to declare a "load table" for a structural engineering application - basically a table of constant values.