home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
lisp
/
tools
/
ally20
/
ally.lsp
< prev
next >
Wrap
Text File
|
1991-11-24
|
864b
|
25 lines
;ALLY NOTE: Remove the semicolon below to reinitialize mouse driver after ALLY.
;(setq XMouse T)
(defun C:ALLY ()
;ALLY - A Lisp Analyzer Copyright 1990, 1991 Steve Waskow
; Version 2.0 Wasco Technical Software
(setvar "cmdecho" 0)
(if XMouse
(command "script" "ALLYXM")
(progn (command "ALLY!") (C:ALLOAD)))
)
(defun C:ALLOAD (/ fh1 s1)
;ALLOAD - ALLY Lisp Loader Copyright 1990, 1991 Steve Waskow
; Version 2.0 Wasco Technical Software
(setvar "cmdecho" 0)
(graphscr)
(if (setq fh1 (open "ALLY.SCR" "r"))
(progn
(setq s1 (read-line fh1))
(close fh1)
(initget "Yes No")
(if (/= "No" (getkword (strcat "Load file " (substr s1 7 (- (strlen s1) 8)) " ? <Y>: ")))
(command "script" "ALLY"))))
(princ)
)