The get values message returns a list. You can refer to individual list elements using cassette[1], cassette[2] etc.
But there's an easier way to convert a set of values in a column to something usable. I use this approach to create an IN LIST for an Oracle SELECT statement. Use the concat items function like so:
slc = New Table( "Cassette Data", Add Rows( 3 ),
New Column( "DESTINATION_CASS", Character, Nominal,
Set Values( {"aa", "bb", "cc"} ) )
);
cassette_list = slc:destination_cass << get values;
// Convert the list to an Oracle IN list
in_list = "('" || Concat Items(cassette_list, "', '") || "')";
Here are the results:
"('aa', 'bb', 'cc')"