#!/usr/pkg/bin/wsbasic

#test mixing ops
a=2+3-4+1  
print a

#test braces
b=4*(2+3)
print "b=",b
  
#test operator precedence
c=4*2+3
print "c=",c
  
#test unary minus
tricky=-2.2+3.1
print "tricky=",tricky

#boolean expressions
b1= (2>3) or (2<3)
print "b1=",b1
  
b2= (2>3) and (2<3)
print "b2=",b2

b3= not ( (2>3) and (2<3) )
print "b3=",b3

f = 3
g = -f *2
print "g=",g  
