Can I use a CONST in a Function within a Type?

BlitzMax Forums/BlitzMax Programming/Can I use a CONST in a Function within a Type?

Global myvar:Int = 12345
Type mytype
Field z:Int
Method New()
Self.z = myvar
EndMethod
EndType
a:mytype = New mytype
Print a.z
Is about as close as you'll get.

This is another (albeit silly) option:
Const myvar:Int = 12345
Type mytype
	Const z:Int = myvar
EndType
a:mytype = New mytype
Print a.z