A couple of ways, (that amount to the same thing), to make it right:
use constant two => 2;; printf "two + 2 = %d\n", two + 2;; two + 2 = 4 sub two () { 2 };; printf "two + 2 = %d\n", two + 2;; two + 2 = 4
In reply to Re: two + 2 not equal 4!
by BrowserUk
in thread two + 2 not equal 4!
by kp2a
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |