
Some examples tcl/tk codes Man of Bwidget Man of blt mkwidget screenshots TkOgl Video Demo real. 
 ~ !  unary minus, bitwise NOT, logical NOT 
* / %  multiply, divide, remainder 
+   add, subtract 
bitwise shift left, bitwise shift right  
= =  boolean comparisons 
== !=  boolean equals, not equals 
&  bitwise AND 
${}^wedge$  bitwise exclusive OR 
bitwise inclusive OR  
&&  logical AND 
\  logical OR 
x ? y : z  if x != 0, then y, else z 
abs  ceil  floor  log10  sinh 
acos  cos  fmod  pow  sqrt 
asin  cosh  hypot  rand  srand 
atan  double  int  round  tan 
atan2  exp  log  sin  tanh 