Here is the example script taken directly from the Scripting Index
Help==>Scripting Index
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Select Rows( [5, 7, 8, 10, 15] );
dt << Exclude( 1 );
dt << Clear Select;
Wait( 2 );
dt << Select Excluded;
// This line is added from the Delete Rows option in the Scripting Index
dt << Delete Rows;
So the actual script you want is
Names Default To Here( 1 );
dt = Current Data Table();
dt << Select Excluded;
dt << Delete Rows;
Jim