안녕하세요,
"Parallel Process"라는 새 열을 추가 한 스크립트가 있는데 스크립트가 실행될 때 "Hi"가 데이터 테이블에 나타나지 않습니다. 열은 완전히 공백이며 누락 된 도트가 없습니다.
parallelProcessColumn = "Parallel Process";
dt << New Column( parallelProcessColumn );
Column( dt, parallelProcessColumn ) << Data Type( Character );
For( k = 1, k <= N Rows( dx ) - 1, k++,
Current Data Table( dt );
For Each Row(
hours = (Hour( Num( dt:colAutomatically ) ));
minutes = (Minute( Num( dt:colAutomatically ) ));
seconds = (Second( Num( dt:colAutomatically ) ));
colAutomaticallyInSeconds = (hours * 3600) + seconds + (minutes * 60);
If( colAutomaticallyInSeconds < startTime,
dt:newInstructionsColumn = ("PREPARATION")
);
If(
Row() >= startRow & Row() > 1 & colAutomaticallyInSeconds >= startTime & dx:colManuallyStart[k] <= dt
:stopClock[Row()],
dt:newInstructionsColumn[Row()] = dx:colInstructions[k]
);
If(
k > 1 & Row() >= startRow & dx:colManuallyStart[k] == dx:colManuallyStart[k - 1] & dx
:colManuallyStart[k] <= dt:stopClock[Row()],
dt:parallelProcessColumn = "Hi"
);
If( k > 1 & dx:colManuallyStart[k] <= dt:stopClock[Row()] & dt:newInstructionsColumn == "MIX 10 MINUTES",
dt:newInstructionsColumn = dt:newInstructionsColumn || " AFTER " || dx:colInstructions[k - 1]
);
);
);
For( i = 2, i <= N Cols( dt ) - 3, i++,
Column( dt, i ) << Data Type( Numeric ) << Set Modeling Type( Continuous )
);
Column( dt, N Cols( dt ) ) << Data Type( Numeric ) << Set Modeling Type( Continuous );
Column( dt, "Parallel Process" ) << Data Type( Character );
Column( dt, "Stop Clock (seconds)" ) << data type( Numeric ) << Modeling Type( Continuous ) <<
Format( "hr:m:s", 10 );
Column( dt, "Time" ) << data type( Numeric ) << Modeling Type( Continuous ) << Format( "hr:m:s", 10 );
newInstructionsColumnWidth = dt:newInstructionsColumn << Get Display Width;
dt:newInstructionsColumn << Set Display Width( 8 * newInstructionsColumnWidth );
편집 : 제목과 본문이 실수로 삭제 된 후 다시 게시물에 추가되었습니다.
로그에 뭐라고 써 있니? 호환되는 데이터 테이블을 게시하면 도움이 될 것입니다.