As part of a longer script, I would like to extract the column names from one table and list those in a new table in a new column.
I have naively tried the following:
dt = Current Data Table ();
m = [];
For(i=8,i<= N Col (dt),i++,
m = m || Column Name ( i );
);
New Table ("Table", New Column ("Headers", character,set values(m)));
I get a error message "Concatenate for Strings or Matrices Only" which make sense since I'm trying to stick a Name into a Matrix.
What is the proper syntax and/or function to make this work?
Thank you.