你结尾的 } 呢
我测试了下是可以的
我是这样子写的但是报警了
global mom_inside_outside_tolerances mom_operation_type
set tol [expr $mom_inside_outside_tolerances(0) + $mom_inside_outside_tolerances(1)]
if {$tol >= 0.015} {
MOM_output_literal "G05.Q1R3"
} else {
MOM_output_literal "G05.Q1R6"