>>Stephane,
>>
>>I haven't tried it myself, but is the _VFP.LanguageOptions feature (new in VFP7) of any help in this?
>>
>
>Interesting, I >thought< this was added at some point. However, I'm not sure how it works. I created a new project and added code to a PRG:
>
>
>lcTest = "Hello!"
>
>MESSAGEBOX(lcTest)
>
>
>I set _VFP.LanguageOptions = 1 and built an EXE. No errors.
Ah, it helps to read the help file <g> - this is a runtime only setting; that is, it won't flag it unless you run it. Just a bit better than useless (but not much)...