I am trying to check a set angle within a lisp file to see if it is greater than 90 and less than 270 and if it is the add 180 to it (for inserting text) I have done this so far but it is definately not right and I am sure it can be done in less commands (cond (< ang1 90) (setq test 1)) (cond (> ang1 270) (setq test1 1)) (if (= test nil) (setq test 2)) (if (= test1 nil) (setq test1 2)) (if (= test test1) (setq ang1 (+ 180 ang1))) (command "text" pt1 tscale ang1 pipefin) Any help would be appreciated Spence