- ;那就这样写。
- (defun GetData44 ()
- (setq floor_height (get_tile "data"))
- (SETQ FHLIST (APPEND FHLIST (LIST floor_height)))
- )
- (if (> (setq dcl_id (load_dialog "support")) 0) (progn
- (setq n 1)
- (SETQ FHLIST (LIST))
- (setq nn (atof (get_tile "floor")))
- (while (and (<= n nn) (= dlgans 1))
- (if (new_dialog "floor_height" dcl_id) (progn
- (set_tile "prompt1" (strcat "请输入第" (rtos n 2) "层高"))
- (action_tile "accept" "(GetData44) (done_dialog 1)")
- (action_tile "cancel" "(done_dialog 0)")
- (setq dlgans (start_dialog))
- ))
- (setq n (1+ n))
- )
- (unload_dialog dcl_id)
- ))
|