Syntax Error on Xojo constructed Method declaration?

I am aware of the perils of using Globals, so I am trying to wrap my 3 required global values in Set/Get statements in the App. I have made the properties private to the App, and created getter and setter methods in the app, both set to public, in order to fetch or set values. But when I try to run I get a syntax error on the method declaration, which has been set up in the properties panel. I’ve not found anyone having a similar problem. Here is a screenshot of the attempt to run with the problem method in question.

you parameter is only “Language”
you probably mean “Language As String”

1 Like

Absolutely. Thank you. Works.

1 Like