Here is another approach to the same solution
Names Default To Here(1);
dt = New Table("Untitled",
Add Rows(8),
New Column("dut", Numeric, "Continuous", Format("Best", 12), Set Values([0, 1, 2, 3, 0, 1, 2, 3])),
New Column("value", Numeric, "Continuous", Format("Best", 12), Set Values([1638, 618, 486, 9418, 654, 791, 1398, 4836]))
);
theList = As List( :value[dt << get rows where( :dut == 0 )] );
Show( theList );
theList = as list(:value[dt<<get rows where(:dut == 0)])
/*:
{1638, 654}
Jim