I tried to reproduce your message, but I can't, sorry
Karl, you need a reference to System
BEGIN NAMESPACE XSharpClassLibrary1
METHOD MyMethod() AS VOID STRICT
LOCAL c AS STRING
c := "test"
This looks like a problem with a conjunction of the DEBUG symbol that is automatically defined when compiling in debug mode and the /vo8 compiler option which makes defines non case sensitive. I think we'll need to modify a bit the way the preprocessor works, will log a report about this. In the meantime, please add a @@ (which tells the preprocesor not to touch the word that follows) before Debug, as in:
In general I like it, too, but I hate it that you can define (in c# for example) identifiers with the same name, different case. It is so easy for example to define both a oXml and a oXML local in the same method and then accidentally use one instead of the other..