Im tyring to write a subroutine (c_sand) whish will get a keyword and then run either P_sand or S_sand respectively. My first attempt atusing if.. Could anyone give me a shove in the right direction sorp keeps returning nil. (defun c:c_sand () (initget "Select Pick") (setq sorp (getkword " Hatch Style? Select/<Pick>: ")) (if (= sorp "pick") p_sand) (if (= sorp "select") s_sand) )