本帖最后由 作者 于 2004-2-20 17:41:57 编辑
自己瞎琢磨,狠下心来破解龙龙仔,看看及格不及格,以我给出的那个DCL为例- (defun kk (kks)
- (set_tile "jd" kks)
- )
- (defun kk1 (kks1)
- (set_tile "hdt" kks1)
- )
- (defun c:dkk (/ dcl_id xx)
- (setq dcl_id (load_dialog "a.dcl"))
- (if (not (new_dialog "dhk" dcl_id))
- (exit)
- )
- (set_tile "jd" "0")(set_tile "hdt" "0")
- (action_tile "hdt" "(setq xx (atoi(kk $value)))")
- (action_tile "jd" "(setq xx (atoi(kk1 $value)))")
- (if (= (start_dialog) 1)
- (princ xx)
- )
- (princ)
- )
|