this is the expected behaviour.
Dim
As
and String, Int, Float are reserved words (core) and are capitalized.
const is the variablename you defined and ou should expect it NOT to be capitalized.
so "Const" is not a keyword for defining a Constant?
thus the following line
dim const variablename as string = "ConstantValue"
actually defines 2 variables, the first named "const" and the second named "variablename"?
looks weird to me, since "const" is not recognized as a variable if i try to use it in subsequent code