An invisible data table is hidden from view but linked to analyses that you run on it. Open a data table as an invisible file as follows:
dt = Open( "$SAMPLE_DATA/Big Class.jmp", "invisible" );
Here is an example of creating an invisible table, called Abc, that has ten rows. One column is named X.
dt = New Table( "Abc", "invisible", New Column( "X" ), Add Rows( 10 ) );
To find out if an open data table is invisible, pass the Boolean Has Data View message to the data table object. The following expression returns 0 (false) if the data table is invisible:
dt << Has Data View();
After you are finished with an invisible data table, do not forget to close it with the Close() function. Otherwise, the data table remains in memory until you quit JMP.
The Show Window() function shows an invisible data table.
dt = Open( "$SAMPLE_DATA/Big Class.jmp", "invisible" );
dt << Show Window( 1 );
The user has the option of opening the table from the JMP interface. On Windows, an invisible data table appears in the Window List on the Home Window and the Window > Unhide menu. On Macintosh, the data table appears in the JMP Home window and the Window > Hidden menu.
dt = Open( "$SAMPLE_DATA/Big Class.jmp", "private" );