The quintessence is, you just don't do stuff like this. You don't pass a constant (like 7 in the second example) to a function and then try to write another value over it.
You should be able to. If the function recognizes a call by value (as it does) then you should be able to use the named variable in the function declaration as a local variable inside the function. There's no reason not to be able to.
Comment