vl-exit-with-error (AutoLISP)
将控制权从错误处理程序传递给调用命名空间的 *error* 函数 支持的平台:Windows、Mac OS 和 Web 签名(vl-exit-with-error msg)
返回值类型:没有 没有 言论此函数由在其自己的命名空间中运行的应用程序使用。执行时,它会调用函数,堆栈将展开,控制将返回到命令提示符。vl-exit-with-error*error* 例子下面的代码演示了如何使用 将字符串传递给调用命名空间的函数:vl-exit-with-error*error* (defun *error* (msg) ... ; processing in VLX namespace/execution context (vl-exit-with-error (strcat "My application bombed! " msg))) |
|Archiver|CAD开发者社区
( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-3-28 16:30
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.