回复:JMP 腳本:帶有 if 條件的消息確保您的 , 位於正確的位置
If(Contains(without_limits, Eval(Y)),
graph = Control Chart Builder(Variables(Subgroup(:X), Y(Eval(Y)), Phase(:"Version")))
,
graph = RAW_DATA_TABLE << Control Chart Builder(
Size(534, 450),
Show Two Shewhart Charts(0),
Show Control Panel(0),
Sort by Row Order(1),
Show Limit Summaries(0),
Variables(Y(Eval(Y)), Subgroup(:X), Phase(:"Version")),
Get Limits(LIMIT_TABLE),
)
, N = N Items(phaseLevels);
For(i = 1, i <= N Items(phaseLevels), i++,
graph << SendToReport(Dispatch(
{},
"Control Chart Builder",
OutlineBox,
{Set Title("Représentation graphique")},
FrameBox(2),
{DispatchSeg(Line Seg(Eval(3 * i + N - 2)), {Line Color("Medium Light Green"), Line Style("Dotted"), Line Width(1.5)}),
DispatchSeg(Line Seg(Eval(3 * i + 1 + N - 2)), {Line Color("Medium Light Orange"), Line Style("Dotted"), Line Width(2.5)}),
DispatchSeg(Line Seg(Eval(3 * i + 2 + N - 2)), {Line Color("Medium Light Red"), Line Style("Dotted"), Line Width(2.5)})}
))
);
);回复:JMP 腳本:帶有 if 條件的消息我看了一下,所有的“,”似乎都沒問題。
它不能來自下面紅色的 hte 嗎?
...<BR />Get Limits(LIMIT_TABLE),
)
<FONT color="#FF0000">,</FONT> N = N Items(phaseLevels);<BR />...
回复:JMP 腳本:帶有 if 條件的消息這可能是由於這兩個

N 項是否應該已經在 if 語句之外?
回复:JMP 腳本:帶有 if 條件的消息正確的!
我不是在看這個“)”
現在效果很好!
謝謝
JMP 腳本:帶有 if 條件的消息大家好,
我正在嘗試根據條件製作控製圖。
但是,當條件 Eval(Y) 不存在於 without_limits 列表(其他條件)中時,我收到一條消息。
這是我的程序:
If (Contains(without_limits,Eval(Y)),
graph=Control Chart Builder(
Variables(
Subgroup( :X ),
Y( Eval(Y) ),
Phase(:"Version")
)
),
graph = RAW_DATA_TABLE <<
Control Chart Builder(
Size( 534, 450 ),
Show Two Shewhart Charts( 0 ),
Show Control Panel( 0 ),
Sort by Row Order( 1 ),
Show Limit Summaries( 0 ),
Variables( Y( Eval(Y) ),Subgroup( :X ), Phase(:"Version")),
Get Limits(LIMIT_TABLE),
),
N = N Items( phaseLevels );
// On met en forme les lignes
For( i = 1, i <= N Items( phaseLevels ), i++,
graph << SendToReport(
Dispatch(
{},
"Control Chart Builder",
OutlineBox,
{Set Title( "Représentation graphique" )},
FrameBox( 2 ),
{
DispatchSeg( Line Seg( Eval(3*i+N-2) ), {Line Color( "Medium Light Green" ),Line Style( "Dotted" ), Line Width( 1.5 )} ),
DispatchSeg( Line Seg( Eval(3*i+1+N-2) ), {Line Color( "Medium Light Orange" ), Line Style( "Dotted" ), Line Width( 2.5 )}),
DispatchSeg( Line Seg( Eval(3*i+2+N-2) ), {Line Color( "Medium Light Red" ), Line Style( "Dotted" ), Line Width( 2.5 )})
}
)
)
)
)這是我收到的消息:
“檢查腳本不包含帶有單個 = 符號的賦值,其中需要使用兩個 == 符號進行相等性測試。 表情是:……”

但是在點擊繼續按鈕後它正在工作......
有什麼想法可以幫助我理解這條消息嗎?
塞巴斯蒂安
高級統計建模自動化和腳本實驗設計質量與工藝工程