明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1971|回复: 6

lsp与DCL对话框程序纠错,谢谢~

[复制链接]
发表于 2004-11-9 10:40:00 | 显示全部楼层 |阅读模式
设立一对话框,在其中定义1至7号色选择,及确定取消钮;当使用者选取了顏色后,即将目前的绘图顏色设定为使用者选取的顏色

本帖子中包含更多资源

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

x
发表于 2004-11-9 10:46:00 | 显示全部楼层
look!


       


本帖子中包含更多资源

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

x
 楼主| 发表于 2004-11-9 10:58:00 | 显示全部楼层
里面的init程序有错误
发表于 2004-11-9 11:04:00 | 显示全部楼层
look,again!


       


本帖子中包含更多资源

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

x
发表于 2004-11-9 11:13:00 | 显示全部楼层
错误已改。


       





       

本帖子中包含更多资源

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

x
 楼主| 发表于 2004-11-9 11:24:00 | 显示全部楼层
楼主强人,在2004版本下能运行,但点击确定时会弹出错误,这是什么原因呢?
发表于 2004-11-9 11:51:00 | 显示全部楼层
错误: 1. (setvar "cmdcho" 0) => (setvar "cmdecho" 0) 2.要改成: (command "style" "std2" "romans" (strcat (rtos (* 2.5 b) ) ) "0.75" "0" "n" "n" "n"
"style" "std3" "romans" (strcat (rtos (* 3.5 b))) "0.75" "0" "n" "n" "n"
"style" "std7" "romans" (strcat (rtos (* 7 b))) "0.75" "0" "n" "n" "n"
"style" "std10" "romans" (strcat (rtos (* 10 b))) "0.75" "0" "n" "n" "n"
"style" "std15" "romans" (strcat (rtos (* 15 b))) "0.75" "0" "n" "n" "n"
"style" "std5" "romans" (strcat (rtos (* 5 b))) "0.75" "0" "n" "n" "n"
) 3. "line"(list a c)(list (-xl c) c)(list (-xl c)(-yl c)) => "line"(list a c)(list (- xl c) c)(list (- xl c)(- yl c)) 好几处 4. (if (/= scale "")
(setq b (getscale (nth (atoi scale) scalelist)))
(setq b (/scale2 scale1))
) ===> (setq b (if (/= scale "") (getscale (nth (atoi scale) scalelist)) (/ scale2 scale1))) .................. 我也是刚学,请多指教!

本帖子中包含更多资源

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

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

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-9-30 06:19 , Processed in 0.188766 second(s), 27 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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