1. ;;说明:从表中找出比int大的最小数
    2. ;;参数:ls:数值表
    3. ;;参数:int:需要找的数
    4. ;;返回:比int大的最小数
    5. (defun BF-list-BigFirst(ls int / end lst)
    6. (setq lst (vl-sort ls '<) end nil)
    7. (while (and (setq end (car lst)) (<= end int) (setq lst (cdr lst))))
    8. (if (> end int) end nil)
    9. )