回复 461045462 的帖子
- (if f
- ()
- (setq f "")
- ) ;_ if
- (setq nf (getstring (strcat "\n请输入备注<" f ">: ")))
- (if (/= nf "")
- (setq f nf)
- ) ;_ if
- (if (= f "0") ;f等于0
- (setq f "")
- ) ;_ if
- (setq lx "")
- (setq ks '(("S" . "水泥地")
- ("W" . "围墙")
- ("F" . "房角")
- ("H" . "花圃")
- ("Y" . " ")
- )
- ) ;_ setq
- (setq s1 (getstring (strcat "s水泥地 w围墙 f房角 H花圃 <" lx "> :")))
- (if (setq rtn (assoc (strcase s1) ks))
- (setq rtn (cdr rtn))
- (setq rtn s1)
- ) ;_ if
|