using System.Collections.Generic
class SyntaxCmpletion
protect _oList as List<Exception>
constructor()
_oList := List<Exception>{}
return
method CheckSyntax( cMessage as string ) as Exception
local oResult as Exception
oResult := _oList:Find( {| o as Exception | o:Message == cMessage } )
return oResult
end class
Should that compile?
Using the C# syntax it compiles:
that is ok - wasn't sure if it was an error or a todo. Therefore I preferred to aks before adding a ticket (and this was an issue I've encountered several times before in other occasions).
The important thing for me is that I have a way to go forward (and I have that).
Wolfgang
P.S. I'm currently working on a production capacity planning system in 100% X# and WPF, but most of the data comes from a DBF based VO application
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it