Thanks that's a great help. I also found the below scripts work; didn't know print was so complicated. haha
print "", (4-1) + 2+3 * (2*2), "\n\n"; print +((4-1) + 2+3 * (2*2)), "\n\n"; print ((4-1) + 2+3 * (2*2), "\n\n");
In reply to Re^2: Order of operations
by hchana
in thread Order of operations
by hchana
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |