home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
xl21hos2.zip
/
SENDMACR.LSP
< prev
next >
Wrap
Text File
|
1995-12-27
|
369b
|
16 lines
(setf (aref *readtable* (char-int #\[))
(cons :tmacro
(lambda (f c &aux ex)
(do ()
((eq (peek-char t f) #\]))
(setf ex (append ex (list (read f)))))
(read-char f)
(cons (cons 'send ex) nil))))
(setf (aref *readtable* (char-int #\]))
(cons :tmacro
(lambda (f c)
(error "misplaced right bracket"))))