Problem with evaluate columns name<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Hi everyone,
After looking around the forum, I can't found a solution to solve my problem.
I have a csv file and I want to get all values for a column in a variable.
I try this code :
| itemChoose = rbEngine <<Get Selected; |
valuesMatrix = Eval(Parse(Eval Expr(Expr(itemChoose)))) << Get Values;
Show( valuesMatrix );
I have try this too :
- valuesMatrix = Eval(Parse(Eval(itemChoose))) <
- valuesMatrix = Eval(Parse(Eval (as column(itemChoose)))) <
- valuesMatrix = Eval(Parse(Eval (^itemChoose^[]))) <
But nothing work 
Hope someone can help me
Thanks per advance,
Sincerely
Re: Problem with evaluate columns namedt = open("$sample_data\Big Class.jmp");
col_list = dt << get column names(numeric, string);
New Window( "Get Column Matrix", << modal,
rb = Radio Box(col_list),
ok_btn = button box("OK",
one_col = rb << get selected;
);
);
col_mtx = column(dt, one_col) << get as matrix;
Re: Problem with evaluate columns nameThanks for the answer,
I'm using a radiobox that's why I do a Get Selected.
So itemChoose is a single variable, not a list.
itemChoose in this case is equal to on of the datatable columns (for exemple, APA) but
valuesMatrix = itemChoose << get values
return me an error :

Thanks per advance,
Sincerely
Re: Problem with evaluate columns nameThe solution depends on what itemChoose represents. Is it a column variable or a list (with one or more columns)?
Below an example that works if itemChoose is a list:
dt = Current Data Table();
itemChoose = dt << get selected columns; // itemChoose will be a list like {:Data}
valuesMatrix = itemChoose[1] << get values; // get Matrix with all values of the first column in itemChoose