J. Landman Gay
jacque at hyperactivesw.com
Mon Dec 13 21:29:36 EST 2010
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 | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the Use-livecode