Ciao a tutti,
Sto cercando di creare una carta di controllo basata su una condizione.
Tuttavia, ho ricevuto un messaggio quando la condizione Eval(Y) non è presente nell'elenco without_limits (else condition).
Ecco il mio programma:
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 )})
}
)
)
)
)Ecco il messaggio che ricevo:
"Verifica che lo script non contenga un'assegnazione con un solo segno =, dove è previsto un test di uguaglianza con due segni ==. L'espressione è: ..."

Tuttavia, dopo aver fatto clic sul pulsante Continua, funziona ...
Qualche idea per aiutarmi a capire questo messaggio?
Sebastiano