right, but why can't I do this... proc intTest(int $a, int $b) { int $c = $a + $b; print ("value of c is: " + $c + "\n"); } int $c = 4; int $d = 5; intTest($c,$d); That should work as well, but it doesn't. I get the message varible $a is not defined.