我建议
- ;;at you main code
- (if (and (= (type Evaluation) 'STR)
- (setq Evaluation (read Evaluation))
- (= (type Evaluation) 'INT)
- );; and
- (checkcount Evaluation)
- (prompt "\nWrong Evaluation TYPE!")
- );; if
- ;; usage
- ;; (checkcount Evaluation)
- ;; Evaluation as an integer
- (defun checkcount (count)
- (cond
- ((= count 0) (alert "Evaluation Expired" ))
- ((> count 0)
- (getVariables-Elevation-WDE)
- (getInput-Elevation-WDE)
- (setVariables-Elevation-WDE)
- (Offset-Elevation-WDE)
- (layers)
- (processInput-Elevation-WDE)
- (DoorNumber-Elevation-WDE)
- )
- );; cond
- );; defun
HTH公司
亨里克 |