Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defun print-alphabet (x)
- (setq x (open (string x) :direction :output :if-does-not-exist :create :if-exists :supersede))
- (setq y 1)
- (loop
- (cond ((equal y char-code-limit) (close x) (return 'fin)))
- (princ y x)
- (princ #\tAB x)
- (princ (code-char y) x ) (terpri x)
- (princ #\tAB x)
- (princ (string (code-char y)) x)
- (incf y) ) )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement