On 12/13/10 7:51 PM, Peter Haworth wrote:
Hi Jacquie, I'm certain the prompt handler is returning the correct value - I put an answer information in it right before the set statement and it showed that the dialogdata had the value I keyed into the prompt form.
Ask and answer dialogs change the value of the dialogdata, but I understand it was just a test.
I can't think of any other reason it would fail. Dialogdata is just like a huge engine-wide global and you can use it however you want. But any other dialog or modal can change its value so it isn't dependable except immediately after it's set. The sample script you posted should work, you were doing it right.
I'm not sure what the goal is of opening a modal to request a version number. Is there a reason not to use the message box or an "ask" command?
-- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode