Quote:

You don't have to use vars between quotes even when NoVarsInStrings is off do you?



No you don't have to.

Whether NoVarsInStrings is on or off, don't put vars in strings. You do need to be aware of the setting of NoVarsInStrings if you are using the "$" character in a string as a real character rather than as a variable metacharacter.

Quote:

I mean, in your first example (if you can even do it), why would you use quotes when you don't need it?




I did do it. That's real code and real results cut'n'pasted from my own console.

The example illustrates the mechanism by which even simple code can get screwed up, I'm sure you can extrapolate the example to some more realistic scenarios.