in DCL file: : button { label = "Get Distance"; key = "dist"; action = "(setq dist1 (getdist))"; } in LSP file: (action_tile "dist" "(setq dist1 (getdist))) What am i doing wrong. I want to click the button and be able to get a dist off screen. I canot get it to work. Any help is appriciated. TIA aw