home *** CD-ROM | disk | FTP | other *** search
- (defun C:LMDAT ( )
- (setq f (open "LIM.DAT" "w"))
- (setq h0 (getreal "please input floor level<H0>:"))
- (prin1 gg0 f)
- (setq zs "1*1")
- (setq zs1 "1*1")
- (setq gg "2700")
- (setq gg1 "2700")
- (setq ggi "900")
- (setq ggi1 "900")
- (while (/= zs "-1")
- (setq zs (getstring (strcat "please input floor<" zs ">:")))
- (if (= zs "") (progn
- (setq zs zs1)
- (print zs f)
- )
- (progn
- (print zs f)
- (setq zs1 zs)
- )
- )
- (if (/= zs "-1") (progn
- (setq gg (getstring (strcat "please input height of the floor<" gg ">:")))
- (if (= gg "") (progn
- (setq gg gg1)
- (print gg f)
- )
- (progn
- (print gg f)
- (setq gg1 gg)
- )
- )
- (setq ggi (getstring (strcat "please input start height of the window<" ggi ":>")))
- (if (= ggi "") (progn
- (setq ggi ggi1)
- (print ggi f)
- )
- (progn
- (print ggi f)
- (setq ggi1 ggi)
- )
- )
- )
- )
- )
- (close f)
- )