Problems with invisible tables being garabage collected
Sep 22, 2011 4:17 AM(1470 views)
I want to run calculations on invisible tables to speed up excecution.
However, my invisible tables are deleted before I get to do anything useful. In the log output I get the following message:
The table 'Invisible table' was automatically closed because no variable or window refers to it.
According to the JMP Scripting Guide this is expected behaviour if the invisable table was created using the Subset(invisible) command. But I'm creating a new table using
dt = newTable("Invisible table",invisible);
The JMP Scripting Guide emphasizes that when doing this I must remember to close the table or it will stay in memory until i quit JMP. But in my case it is automatically deleted some time after my first operation on the table, even though I do assign a reference to the table. (If I create the table without the invisible option everything is working as it should)