What inspired this wish list request?
The current syntax for saving data tables with JSL is a bit clunky.
dt=current data table();
dt << Save(<filepath>);
This requires specifying the complete file path, which includes the JMP data table name. To save the file with its current name it is even more clunky.
dt = current data table();
table_name=dt << get name;
dir="C:\temp\";
filepath=dir || table_name || ".jmp";
dt << save( filepath)
What is the improvement you would like to see?
I would like a Save File( ) function that you can save data tables (and possibly any JMP file) with a more obvious and compact syntax. For saving tables, it could look something like this
dt=current data table();
// save to default directory
Save File(dt);
// save to specific directory
Save File(dt, <directory path>)
//save to specific directory with data table name new name
Save File(dt, <directory path>, <new name>)
Why is this idea important?
It is for JSL coding efficiency and readability.