每个文档命名空间都提供了自己的函数。*error* 注意:Visual LISP IDE 仅在 Windows 上可用。
默认函数定义如下:*error* (defun *error* (msg) (princ "error: ") (princ msg) (princ) ) 在文档命名空间中运行的 VLX 应用程序共享默认函数。每个应用程序都应重新定义 memoryfunction 或 usefunction 中的当前,以处理错误,并将环境返回到其先前状态,然后再执行应用程序中的函数。*error**error*vl-exit-with-error |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 )
GMT+8, 2024-5-19 14:00
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.