• Carlo Romagnano (10/29/2010)


    I think the question author tried to confuse us with the syntax for compound operators

    I think the question author CONFUSED himself with the syntax for compound operators, as you can realize from author explanation: mismatch "compound operators" and "unary operator".

    Quite possibly, but it's only a few weeks since I helped a colleague who had stared at the exact same error for several hours without noticing the =+. Interestingly enough this was for string manipulation. One can't help but wonder what a unary plus means in the context of string manipulation. A unary minus for strings throws an error, thankfully!


    Just because you're right doesn't mean everybody else is wrong.