;; dcl格式代码示意
- (defun c:tt () ; tt(CAD小秘书)
- (defun main-pro () (princ))
- (xyp-initSet '(k1 k2 k3) '("1" "0" "0"))
- (setq Dlst '(("" "方式" ":boxed_radio_row{")
- ("k1" "常用" "radio")
- ("k2" "专用" "radio")
- ("k3" "其他" "radio")
- "}"
- ("" "常用" ":boxed_row{")
- ":column{"
- ("bu1" "按钮1" "button" "(c:abc1)")
- ("bu2" "按钮2" "button" "(c:abc2)")
- ("bu3" "按钮3" "button" "(c:abc3)")
- ("bu4" "按钮4" "button" "(c:abc4)")
- "}"
- ":column{"
- ("bu5" "按钮5" "button" "(c:abc5)")
- ("bu6" "按钮6" "button" "(c:abc6)")
- ("bu7" "按钮7" "button" "(c:abc7)")
- ("bu8" "按钮8" "button" "(c:abc8)")
- "}"
- "}"
- )
- )
- (if (= (xyp-Dcl-Init Dlst "【CAD小秘书】" t) 1)
- (main-pro)
- )
- (princ)
- )
|