Is there a way to create a constant shared array? The ovbious way :
Shared Const GX() As String = {"GS", "GP"}
Is not working, it says you can't use shared and const together.
If you use only const it says you can't declare a contant array in a class.
Thanks in advance
enumeration
?Const GX() As String
and read the error message you get. As suggested above, you can use anEnum
; an array of constants goes against the basicConst
rules.