home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
cad
/
may93.zip
/
TIP871.LSP
< prev
next >
Wrap
Lisp/Scheme
|
1993-05-12
|
455b
|
22 lines
; TIP871.LSP [GRPS.LSP]
; Toggle Grips (c)1993, Chris Winsor
(DEFUN C:G ()
(setq v (getvar "grips"))
(if (= v 0)
(progn
(setvar "grips" 1)
(prompt "\nGrips are on!")))
(if (= v 1)
(progn
(setvar "grips" 0)
(prompt "\nGrips are off!")))
(princ)
)
;
;AddQ a similar line like this to your modemacro
;lisp file if you are using this feature...
;
;"$(if,$(getvar,grips), Grips)"