找回密码
 立即注册

QQ登录

只需一步,快速开始

微信扫码登录

搜索
查看: 2883|回复: 4

[求助] 大神请进,看下这段代码到底错在哪里

[复制链接]

3

主题

1018

回帖

1万

积分

大校

积分
16479
发表于 2017-6-12 11:51:59 | 显示全部楼层 |阅读模式
#=============================================================
proc PB_CMD_custom_command { } {
#=============================================================
global mom_operation_notes mom_sys_control_in mom_sys_control_out

set ci $mom_sys_control_in
set co $mom_sys_control_out

MOM_set_seq_off

if { [info exists mom_operation_notes] } {

for {set i 0} {[info exists mom_operation_notes ($i)]} {incr i 1} {
mom_output_literal "$co $mom_opertion_notes ($i) $ci"
}
}
MOM_set_seq_on
}


点评

想知道那里错了看二楼  发表于 2017-6-14 20:03

518

主题

4337

回帖

9万

积分

超级版主

积分
93156
发表于 2017-6-14 18:05:11 | 显示全部楼层
抄都抄错,不单单格式错连变量都错

518

主题

4337

回帖

9万

积分

超级版主

积分
93156
发表于 2017-6-14 20:02:30 | 显示全部楼层
特制新教程详细讲解
小梁UG后处理输出UG9.0以上编程操作中注释(NOTES)内容到nc文件中视频教程
http://www.ugsnx.com/thread-177807-1-1.html
(出处: UG爱好者)

3

主题

1018

回帖

1万

积分

大校

积分
16479
 楼主| 发表于 2017-6-14 20:12:09 | 显示全部楼层
多谢梁版百忙之中回复,我再仔细看看教程,真心感谢!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

咨询QQ:1359218528|发帖须知!|Archiver|手机版|小黑屋|UG爱好者论坛 ( 京ICP备10217105号-2 )

GMT+8, 2025-2-2 13:00

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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