Thanks for the suggestions everyone, but allow me to clarify. I have a script that assigns an << On Close expression to a table, among other things. My issue is that when I subsequently close the table by hand, the on-close expression is not executing the way I intended. As part of my debugging, I'm trying to read back the table's on-close script independently to confirm the script is there.
I can already inspect the original on-close expression that I'm assigning to the table in my larger script, but now want to confirm that when the table is closed, JMP sees the same expression I wrote.