Re: 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)})}
))
);
);Re: JMP 스크립트: if 조건이 포함된 메시지나는 살펴 보았고 모든 ","은 괜찮아 보입니다.
아래 빨간색으로 hte 에서 나올 수 없습니까?
...<BR />Get Limits(LIMIT_TABLE),
)
<FONT color="#FF0000">,</FONT> N = N Items(phaseLevels);<BR />...
Re: JMP 스크립트: if 조건이 포함된 메시지이 두 가지 때문일 수 있습니다.

N 항목이 이미 if 문 외부에 있어야 합니까?
Re: JMP 스크립트: if 조건이 포함된 메시지오른쪽!
나는 이것을보고 있지 않았다 ")"
이제 잘 작동합니다!
감사합니다
JMP 스크립트: if 조건이 포함된 메시지모두 안녕
조건에 따라 컨트롤 차트를 만들려고 합니다.
그러나 Eval(Y) 조건이 without_limits 목록에 없을 때(else 조건) 메시지를 받았습니다.
내 프로그램은 다음과 같습니다.
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 )})
}
)
)
)
)내가 받은 메시지는 다음과 같습니다.
"두 개의 == 기호가 있는 동등 테스트가 예상되는 단일 = 기호가 있는 할당이 스크립트에 포함되어 있지 않은지 확인하십시오. 표현은: ..."

그러나 계속 버튼을 클릭하면 작동합니다 ...
이 메시지를 이해하는 데 도움이 되는 아이디어가 있습니까?
세바스티앙
고급 통계 모델링자동화 및 스크립팅실험 설계품질 및 프로세스 엔지니어링