Try the following code
sql_col_order.0 = 11
DO i = 1 TO sql_col_order.0
sql_col_order.i = i
END
i = 1
err = STEMDELETE('sql_col_order','E', i, 1)
SAY 'temp.0 = 'sql_col_order.0
DO i = 1 TO sql_col_order.0
SAY 'sql_col_order.'i' = 'sql_col_order.i
END
You should see a "gap" at sql_col_order.6Michael |