OK so I have the following number edit box that worked fine in JMP14, but I can't use the <<Get after the box declaration anymore.
I tried this:
savechoice = 1;
pfp = New Window( "Save Models and Columns",
<<Modal,
Text Box(
"Would you like to save the predicted formula columns and fit model? Please review them before you answer."
),
Text Box( "Enter 1 for Yes, 0 for no." ),
H List Box( Num2 = Number Edit Box( 1 ) ),
Text Box( "" ),
<<On Close( savechoice = Num2 << Get )
);
Show( savechoice );
But if I type 0 into the box to say "don't save" it won't let me close the box. It's like 0 isn't a valid input for a number edit box. If I type 1,2, or any other number it works fine. What is going on? thanks.