When I want to implement a my own procedure I have one doubt. For example, the following is OK:
% proc + {a b} {expr $a+$b}
% + 3 4
7
But when we are using "" instead of {}:
% proc + "a b" "expr $a+$b"
it will give this error:
can't read "a": no such variable
At the same time when we use \ it gives an answer:
% proc + "a b" "expr \$a+\$b"
Here, \ not considered $ as a special char then it will take as $a and it look same as the second example. Can anybody tell me the difference between these three methods of defining a proc?