signOfExpr = sgn(expr)
first < last
first > last
for x = first to last step sgn(last-first) print x next