Hi Rick
I've seen that many times. I am a fan of leaving macro-substitution as the second to last way to execute code (the last being execscript), so I don't create those errors often. I also recommend always adding the period as a terminator. The compiler can't catch them all.
>In at least FoxPro for Windows 2.6 and Visual FoxPro 9, the following syntax errors are not caught by the compiler at compile time, but only by the execution engine at runtime:
>
>
missed1 = 'this and &that''
>caught1 = 'this and that''
>missed2 = "this and &that""
>caught2 = "this and that""
>
>
>Has anybody else seen this? It seems that if the string has a macro, it ignores the incorrect syntax of the mismatched quotes.
>
>Best regards,
>Rick C. Hodgin