I am looping over existing data table scripts and creating a duplicate of each script with some alterations.
I want to insert those table script names into the generated table scripts.
The output I get just inserts the word "script" in my generated table scripts instead of the actual string value in scriptList
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
scriptList = dt << Get Table Script Names;
For Each({script}, scriptList,
If ((!Contains(scriptList, "Run "||script)),
dt << New Script("Run "||script,dt=Current DataTable();w=eval(dt << get table property((script)));w << set window title((script)));
);
);