I am having trouble getting values after I use a modal New Window Box.
If I run the example from the JMP 9 Scripting Guide:
New Window("Set a Value",<<Modal,
TextBox("Set this Value"),
variablebox = Number Edit Box(42),
Button Box("OK"),
Button Box("Cancel")
);
variablebox<<get;
I get this error: "Send Expects Scriptable Object in access or evaluation of 'Send', variablebox<<get
On the other hand:
When I run just the code
variablebox = Number Edit Box(42);
variablebox<<get;
I get:
42
Anyone know what I've done wrong here? I can't seem to make "get" retrieve variables from any of the modal windows I've tried.
Thank you!