The words "Get" and "Set" are not being highlighted with the new version. eg:
Code: Select all
Get
return _myProperty
End Get
Set
_myProperty := value
End Set
Code: Select all
Get
return _myProperty
End Get
Set
_myProperty := value
End Set
Hi Chris, I've detected my error. I was declaring an "Instance" property but that's not a valid identifier (although the compiler does not complain at all ). I've solved the issue typing @@ before my identifier.Chris wrote: Mon Dec 30, 2024 10:17 pm Hi Irwin,
Seems to work here. Are those inside a PROPERTY...END PROPERTY statement?
Code: Select all
Static Property @@Instance As MyClass
Get
If _instance != Null
Throw InvalidOperationException{"Class not initialized."}
EndIf
Return _instance
End Get
End Property