Originally Posted By: Pax
Do I need the + in there these days? I see a bit of code written with it in, and yet others leave it out.


There is no implicit catenation of the elements, each remains a seperate token.

Not using "+" has a couple of drawbacks:
1. If you don't use "+" then each element is sent to the output as a separate system call. Not too much of a problem for a couple of debug lines, but generally not good programming technique.
2. If you decide to send your output somewhere else such as a file or logging function then the spaces between the elements will become a syntax error.
3. Your intent is less explicit, so the code is not so easy to read or debug.

Good practice is therefore to catenate the tokens together using "+" to create the final string and only then send it on its way.

No-one is going to be offended if you don't use "+", but expect sniggers if you ask why Log("Value is " $Value) doesn't work.

Similarly, avoid using "?" as a print statement. It isn't and should be avoided altogether. Pretend that you never knew it existed and you will be doing yourself a favour.