|
-
Jan 9th, 2000, 04:14 PM
#1
Thread Starter
Addicted Member
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.
-
Jan 9th, 2000, 04:28 PM
#2
-
Jan 9th, 2000, 06:20 PM
#3
Thread Starter
Addicted Member
Yep. I've implemented it at the moment just initialising the arrays and never changing them.
It would just make it more correct to be able to declare them "const"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|