Bug? Const keyword not capitalized in IDE

Alessandro71

Well-Known Member
Licensed User
Longtime User
writing
dim const variablename as string = "ConstantValue"
in the IDE gets auto-capitalized in
Dim const variablename As String = "ConstantValue"

the "const" keyword is not capitalized
 

Alessandro71

Well-Known Member
Licensed User
Longtime User
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
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…