empty ask result + ok = result:cancel

Joel Guillod joel.guillod at net2000.ch
Tue Jul 26 03:46:00 EDT 2005


Dear Mister X,

I mentioned such a bug (#3019) in build 91 and it has been  
wonderfully fixed for the current downloable build.

In  the msg box, "put  version(), buildnumber()" should reply  
"2.6.5,108". Otherwise download and reinstall Rev 2.6 again.

Also I agree with Eric, you should place the result() function just  
after the ask statement:

    ask "Replace what:" with lselection
    if result() is "cancel" then exit mouseup
    put it into x

Hope this help.

Joel G


Le 25 juil. 05 à 04:46, use-revolution-request at lists.runrev.com a  
écrit :

> Date: Sun, 24 Jul 2005 20:04:06 +0200
> From: "MisterX" <b.xavier at internet.lu>
> ...
>   ask "Replace what:" with lselection
>   put it into x
>   get the result
>   if it is "cancel" then exit mouseup
>



More information about the use-livecode mailing list