;File dialog for loading lisp files. ; ; Author: ; Henry C. Francis ; 425 N. Ashe St. ; Southern Pines, NC 28387 ; ; http://www.pinehurst.net/~pfrancis ; e-mail hfrancis@pinehurst.net ; All rights reserved. ; (defun c:LDLSP ( / ) (setq edfil (getfiled "Load Lisp File" "v:/UTIL/LSP/" "lsp" 0)) (if (> (strlen edfil) 4) (progn (setq efsln (-(strlen edfil)4)) (setq edfil (substr edfil 1 efsln)) );progn ) (load edfil) (setq lfil (strcat "(c:" (substr edfil 4)")")) (eval(read lfil)) );defun