查看单个帖子
旧 2009-04-06, 07:58 PM   #1
huangyhg
超级版主
 
huangyhg的头像
 
注册日期: 04-03
帖子: 18592
精华: 36
现金: 249466 标准币
资产: 1080358888 标准币
huangyhg 向着好的方向发展
默认 【转帖】label.txt

label
i have an if else statement: inside the if i have a dimention and insde the else i have a dimention. is there a way to make it so in reort it shows only the one that the statement worked with.
exemle (just some values no meaning at all)
if x>5
dim is x=6
end if
else
dim is x=4
end else
so if x>5 i don''t want the reort to show x=4
edited by - goshik on 1/16/2008 2:28:29 m
ut the else statement inside the block if statement.
what you have is:
if x>5
dim is x=6
end if
else
dim is x=4
end else
what you want is:
if x>5
dim is x=6
else
dim is x=4
end if
i have tried that, and it shows u red if i do it this way i think it only work the way i have it, i duno i''ll try it again. i did called the hexagon suort and they told me that the full mode reort reads the whole rogram so even if the rogram skis a dim it will still show u in the full mode reort, yet it won''t show u in the view last execute mode.
i was hoing that there is way around it, i guess not.
__________________
借用达朗贝尔的名言:前进吧,你会得到信心!
[url="http://www.dimcax.com"]几何尺寸与公差标准[/url]
huangyhg离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)