Advertisement
Guest User

Untitled

a guest
Apr 8th, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.30 KB | None | 0 0
  1. (defun lire-code-en-liste (&aux liste)
  2.   (setq alpha_code (open "alpha_code.txt" :direction :input :if-does-not-exist :error))
  3.   (loop
  4.     (cond
  5.       ((not (setq ligne (read-line alpha_code nil nil))) (return)) )
  6.     (cons '(read-from-string ligne nil nil) liste) )
  7.   (close alpha_code)
  8.   (print liste) )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement