找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 654|回复: 1

[编程申请]:誰來破解一下ACET

[复制链接]

已领礼包: 2个

财富等级: 恭喜发财

发表于 2007-7-31 08:56:12 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×

  1.   [FONT=courier new]
  2. 誰來破解一下這兩個函數?
  3. (acet-error-init args)

  4. Error handler.

  5. Note:
  6. This function should be paired with (acet-error-restore) below to encapsulate error handling for LISP functions or commands that may be aborted by the user.

  7. Arguments
  8. args A list containing up to three elements (described below).

  9. Arguments are provided in a list to allow for future enhancements. The list can currently be nil or can contain up to three elements:

  10. A list containing pairs of system variable names along with an initial value for each variable, in the form:
  11. ("sysvar" value "sysvar" value ...)
  12. The (acet-error-init) function will preserve the initial value of these variables (see (acet-error-restore) below) and then set the new values.
  13. A flag value indicating whether UNDO should be used as part of the error handling operation. This value can be one of: nil Do not use undo.
  14. 0 Enable Undo and place begin and end marks, but do not issue the UNDO command in the event of an error.
  15. 1 Enable Undo and use the UNDO command in the event of an error.

  16. A quoted function call that will be executed as part of the error handling operation. A nil argument indicates that no additional error handling is required.
  17. Return Values
  18. nil

  19. Example
  20. (acet-error-init '(("CMDECHO" 0)
  21.                    1
  22.                    (if ename (redraw ename 4)) ) )


  23. --------------------------------------------------------------------------------

  24. (acet-error-restore)

  25. Reset error handling.

  26. This function restores the values saved by the matching call to (acet-error-init). It should be called after all user input has been completed. This function ends with a (princ) call for a quiet finish.

  27. Return Values
  28. nil

  29. Library: acetutil.fas

  30.   [/FONT]
复制代码
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
发表于 2007-7-31 18:09:18 | 显示全部楼层
用 vl-catch-all-apply 就没必要注意这些繁文缛节
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2024-11-17 07:39 , Processed in 0.175116 second(s), 33 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表