Sample command
set b 5 expr ($b*4) - 3 expr $b <= 2 expr $a * cos(2*$b) expr {$b * [fac 4]} set a Bill expr {$a < "Anne"}
C-like (int and double), extra support for string operations.
Result
5 17 0 -5.03443 120 Bill 0
Command, variable substitution occurs within expressions.
Used in expr, other commands.
Previous slide | Next slide | Back to the index | View Graphic Version |
No notes for slide 10