Here's my problem. If I use a variable for the After("name") it goes to the dialog:
Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
dt = Current Data Table();
New Column( "example", Numeric, Continuous, Width( 5 ), <<Set Each Value( 100 ) );
myAfter = "sex";
dt << Move Selected Columns({"example"},After(myAfter));
If I evaluate by using After(Eval(myAfter)) it works. If you have a variable in the list, also has to Eval first.
Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
dt = Current Data Table();
New Column( "example", Numeric, Continuous, Width( 5 ), <<Set Each Value( 100 ) );
myAfter = "sex";
dt << Move Selected Columns({"example"},After(Eval(myAfter)));