"Ask" does not put empty into "it" when "Cancel" is clicked.

Stephen Barncard stephenREVOLUTION at barncard.com
Thu Aug 18 13:11:47 EDT 2005


Jim, check your build number:

in the messagebox, type:
put buildnumber()

I think this was quickly fixed by build 108.
Download a recent version.



>Is this a known change in 2.6?
>
>The scrip below functioned as expected in Rev 2.5.  When the user 
>click "Cancel" in response to the "ask" command the "it" variable 
>was set to empty. Not so in 2.6.
>
>In 2.6 the script behaves differently. When the user clicks 
>"Cancel," there is a error response. The "ask" command does not 
>return empty to the "it" variable--I'm not sure what "it" is. It 
>shows empty but charToNum  return the zero character.


More information about the use-livecode mailing list