;;依次赋值给 a b c d e f g 不妥,假如行数超过26怎么办? ;;下面的方法是依次赋值给 *LINE_1* *LINE_2* *LINE_3* ... *LINE_N* (defun ttt (/ file i) (setq file "c:\\TXTFILE.txt") (setq file (open file "r")) (setq i 1) (while (setq line (read-line file)) (set (read (strcat "*LINE_" (itoa i) "*")) line) (setq i (1+ i)) ) (close file) i )