Hi,
I have the following script:
I Want to select some rows and subset them.
selection finds 369 rows, but subset only 140 rows.
Does someone have any idea what I am missing?
dt = current data table();
Column( dt, "DieX")<< data type( Numeric ) << Modeling Type( Continuous ) << Format( Best, 12 );
Column( dt, "DieY")<< data type( Numeric ) << Modeling Type( Continuous ) << Format( Best, 12 );
dt << select where (1045 <= :DieX <= 1055 & 1221 <= :DieY <= 1228 |
1145 <= :DieX <= 1155 & 1221 <= :DieY <= 1228 |
1045 <= :DieX <= 1055 & 770 <= :DieY <= 778 |
1145 <= :DieX <= 1155 & 770 <= :DieY <= 778 );
dt_subset = dt <Automation and ScriptingData Blending and Cleanup