Script works as expected in JMP13 but throws an error in JMP16 ?The following script works fine in JMP 13.2.1 and produces expected output but throws an error when run in JMP16.1.0. What part in the script is not acceptable in JMP16?
Names Default to Here (1);
//clear symbols ();
//clear log ();
dlg = New Window("Please enter the following", << Modal, <<RETURN result=""></RETURN>JMP 16.1.0 gives the following error.

Not sure where 'Glue' is coming from?
Advanced Statistical ModelingAutomation and ScriptingMass CustomizationRe: Script works as expected in JMP13 but throws an error in JMP16 ?When using << Return Result there might sometimes be unexpected (at least they were for me) results, if you are using more complicated display boxes than text and number edit boxes, that are good to keep in mind. But in this case if there are only Text Edit Boxes I think getting the results after Modal has closed is simplest and cleanest solution.
Re: Script works as expected in JMP13 but throws an error in JMP16 ?That was an informative read, @Craige_Hales. Makes me realize I've probably been doing it a little wrong and I might instead have suggested the following to @Neo:
Names Default to Here (1);
dlg = New Window("Please enter the following", << Modal, <<RETURN result=""></RETURN>Re: Script works as expected in JMP13 but throws an error in JMP16 ?Modal Dialogs has a bit of the back story on why it changed.
Re: Script works as expected in JMP13 but throws an error in JMP16 ?@jthi is right. Here's a version of your script with a Button Box inside the V List Box that gets the user-entered text when the window closes. As for "Glue", that refers to the semicolon, which is the glue operator (see Glue() function).
Names Default to Here (1);
//clear symbols ();
//clear log ();
dlg = New Window("Please enter the following", << Modal, <<RETURN result=""></RETURN>
Re: Script works as expected in JMP13 but throws an error in JMP16 ?I think the cause of the issue is how newer version of JMP handles the values which are returned from modal windows.After the modal window is closed, you don't have access to teb1 and teb6 anymore. This help topic should help you get the script converted to newer jmp version: Convert Deprecated Dialog to New Window (get the when OK is pressed or from dlg with dlg["teb1"] and so on).